Slide
API FAQ

Help and Feedback

Slide

Home

Help Center

API FAQ

1.API request url node:
  • United States:
    http://sms.skylinelabs.cc:20003
    Hong Kong:
    http://hk.globalsms.cn:20003
    https://hk.globalsms.cn:20443
2. Analysis of common causes of API errors
  • 1.Account error: {“status”:-1,”desc”:”user not exist”}
  • Cause Analysis:
  • 1) The account number passed in through the SMS sending interface is wrong, and you need to check whether the account number is correct.
    2) POST submission does not include account, sign, and datetime in the URL.
  • 2. Authentication error: {“status”:-1,”desc”:”auth failed”}
  • Cause Analysis:
  • 1) The incoming password of the SMS sending interface is wrong. You need to check whether the password is correct. The password is the authentication key, not the login password. The authentication key needs to be obtained by logging in to the Tianyihong SMS system.
    2) The datetime used in the sign parameter passed in the sending interface is inconsistent with the datetime passed in the interface.
    3) The http protocol is not enabled, you can log in to the Skyline SMS system, and enable it in my settings-API settings.
3.Time expires: {“status”:-16,”desc”:”timestamp expires”}
Reason analysis: the datetime passed in through the SMS interface is expired, datetime needs to use GMT+8 current time within half an hour in the future, and the time format is year, month, day, hour, minute and second, not a timestamp. If the request server is not in GMT+8 time zone, please Set the time conversion.
4.Wrong number: {“status”:-9}
  • Cause analysis: The number passed by the sending interface is wrong. The common reasons are as follows:
    1) The receiving number does not add the country code or the country code is followed by 0. The skyline system requires that the incoming number be a complete international number with the country code. Correct example: 6281211111111, wrong example: 81211111111, 081211111111, 6208211111111.
    2) The receiving number is not within the scope of service cooperation, for example, only cooperates with Indonesia, then this account can only send Indonesian numbers, and other countries’ numbers will return -9.
    3) The receiving number is within the scope of service cooperation and the number format is correct, then the number segment of this number is not allowed in the number segment of the skyline system. Please confirm whether the number exists. If you confirm it exists, you can contact the skyline account manager to add it.
5.Frequency limit: {“status”:-15,”desc”:”Frequent Queries”}
Reason analysis: The query frequency of the getsentrcd interface exceeds the limit. The query frequency is allowed to query once per minute at most, and the query frequency needs to be controlled within the allowable range.