tencent cloud

Feedback

API Error Codes

Last updated: 2024-05-08 16:34:16

    Built-in API Error Codes

    Error codes of APIs such as https://webar.qcloud.com/sdk/xxx. The response structure is as follows:
    {
    "Code": xxx,
    "Message": "xxx"
    }

    Successful requests

    If Code is 0, a request is successful, and information will be returned in Data.
    {
    Code: 0,
    Data:{...}
    }

    Authentication errors

    If Code is a value from 100 to 104, an authentication error occurred. The response status code is 401.
    {
    "100":{
    en: "Missing authentication parameter."
    },
    "101":{
    en: "Signature timeout."
    },
    "102":{
    en: "Unable to find the user."
    },
    "103":{
    en: "Signature error."
    },
    "104":{
    en: "Mismatch of referer or WeChatAppId."
    }
    }
    
    

    Request parameter errors

    If Code is -2, a request parameter error occurred. For details, see the value of Message.
    
    {
    "Code": -2,
    "Message": "LicenseKey must be a string."
    }

    Business verification errors

    If Code is greater than 1000, a business verification error occurred. For details, see the value of Message.
    {
    "Code": 2007,
    "Message": "The project does not exist."
    }

    Unknown errors

    If Code is -1, an unknown error occurred.
    {
    "Code": -1,
    "Message": "Unknown error."
    }
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support