bluemix-go icon indicating copy to clipboard operation
bluemix-go copied to clipboard

GetAccountType API fails with error UAAEndpoint doesn't exists

Open bkhadars opened this issue 2 years ago • 0 comments

I am trying to deploy openshift cluster in jp-osa region , as part of the cluster deployment we have a pre-check to verify the account type of the user..

while deploying cluster in the us-south, eu-gb, eu-db the account verification happens succesfully.. but when trying the cluster deployment thein jp-osa GetAccountType API fails with below error..

UAA endpoint doesn't exist for region: "jp-osa"

while debugging the code I found that there is no UAA endpoint defined for the jp-osa region.. It can be found from the below line https://github.com/IBM-Cloud/bluemix-go/blob/34645883de47858a23b120177af7e73bbd8a4dac/endpoints/endpoints.go#L63

How to resolve this error? Does new UAA endpoint should be added to code??

bkhadars avatar Jun 06 '22 10:06 bkhadars