Why Does the Token Fail to Be Obtained When I Use Postman to Call an ORC API?
Select a solution based on the error message.
- Check whether the service region in the body and the corresponding key value are correct.
- Error message "The username or password is wrong." is displayed.
- If error message "The userInfo is wrong" is displayed, do the following:
Set username and domainname correctly. Typically, the value of username is the same as that of domainname. If you are not sure about the value, log in to the My Credentials page. If you log in as an IAM user, set the parameters as follows:
usernameIAM username (subaccount name)
domainname: account name
- If error code "APIGW.0101" is displayed, do the following:
Check whether the URL used to obtain the token is correct. For example, if you use a POST request to obtain the token in the AP-Bangkok region, the URL is as follows:
POST https://iam.ap-southeast-2.myhuaweicloud.com/v3/auth/tokens
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot