Specified access key is not found

Updated at:

Cause:

This error occurs because the Alibaba Cloud API Gateway cannot find the AccessKeyId for authentication.

  • If the error occurs consistently, the AccessKeyId is configured incorrectly.

  • If the error occurs occasionally, this may be caused by a temporary authentication failure in API Gateway. In this case, you can retry the operation.

Solution

If the AccessKeyId is configured incorrectly, follow these steps:

  • Log on to the RAM console

  1. Log on to the Resource Access Management (RAM) console with your Alibaba Cloud account.

  2. Hover over the account icon in the upper-right corner and click AccessKeys.

  • Obtain an AccessKey for a RAM user

  1. On the security prompt page, click Start Using RAM User AccessKey.

  2. If you have not created a RAM user, you can create one on the New User page in the RAM console. If you want to obtain an AccessKey for an existing RAM user, you can skip this step.

  3. In the navigation pane on the left of the RAM console, choose Identities > Users. Then, search for the user for whom you want to obtain an AccessKey.

  4. Click the logon name of the user. On the user details page, click the Credentials tab. In the User AccessKeys section, click Create AccessKey.

  5. On the Phone Verification page, obtain the verification code to complete the verification. Then, click OK.

  6. On the Create AccessKey page, you can view the AccessKey ID and AccessKey secret. Click Download CSV File to download the AccessKey information or click Copy to copy it.

  • Grant permissions to the RAM user

Grant the RAM user permissions to manage Mobile Push (MPush). For more information, see Manage RAM user permissions.