Updated on 2023-11-02 GMT+08:00

APIG.0301 Error

There are two possibilities to check:

  • If error message "Incorrect IAM authentication information: decrypt token fail" and error code APIG.0301 are displayed, the token fails to decrypt.

    Solution: (1) Check whether the token has expired. (2) Check whether the method and request body for obtaining the token are correct and whether the token is correct and complete. (3) Check whether the environment for obtaining the token is consistent with the environment where the token is called. (4) Check whether the account is in arrears or frozen.

  • If error message "Incorrect IAM authentication information: verify aksk signature fail" and error code APIG.0301 are displayed, AK/SK fails to authenticate.

    Solution: (1) Check whether the AK/SK pair is correct. For example, the SK corresponding to the AK is incorrect; an extra space is entered in the AK/SK pair. (2) AK/SK-based authentication errors occur frequently. If an AK/SK pair fails to be authenticated for more than five consecutive times, the AK/SK pair is locked for 5 minutes (the AK/SK-based authentication is considered as an abnormal authentication request within 5 minutes). 5 minutes later, the AK/SK pair is unlocked and re-authenticated. (3) Check whether the account is in arrears or frozen.

Error Code FAQs

more