Why Is the Error Message Indicating Failed to Obtain the Domain ID Displayed When an IAM User Calls an API After the Enterprise Project Function Is Enabled?
The account administrator grants only the permissions of an enterprise project to the IAM user, so the IAM user cannot obtain the domain ID of the account, and the following error message is displayed when the IAM user calls an API.
Or
In this case, log in to the console as the account administrator and obtain the domain ID of the account. Carry the parameter domainId when calling an API as the IAM user.
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