Message "get project token from iam failed" Is Displayed When the Service Center Is Attempted to Be Connected
Developers can use the service center provided by the public cloud to develop services. To use the service center, a developer must register an account and generate AK/SK information in My Credential for access authentication control. For details about how to access the public cloud, see Accessing Applications to ServiceComb Engines.
Abnormal Message
{"errorCode":"401002","errorMessage":"Request unauthorized","detail":"Get service token from iam proxy failed,{\"error\":\"get project token from iam failed. error:http post failed, statuscode: 400\"}"}
Cause
The project name is incorrect.
Diagnosis method
Check whether the value of cse.credentials.project is correct. Specifically, query the correct project name in My Credential. If this configuration item does not exist, the system checks the domain name of the service center by default. If the domain name does not contain a valid project name, add this configuration item and ensure that it is a valid project name in My Credential.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.