Message "validate ak sk error" 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\":\"validate ak sk error\"}"}
Cause
The AK and SK are incorrect.
Diagnosis method
Check whether AK/SK configurations in microservice.yaml are correct. Specifically, log in to the public cloud and query the AK information in My Credential. The SK is saved by the user and cannot be queried. If you forget the related credential, delete the credential information and create new credential information.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.