ibmcloud create action through cli

2019-08-22 04:24发布

问题:

ibmcloud create action through cli is not working . Getting an exception

Unable to authenticate with Cloud Functions: Unable to obtain wsk authentication key for Org 'xxxxx' and Space 'xxxx': Target Org 'xxxxm' and Space 'xxxx' do not have an auth key; if Space 'dev' was recently created, try again in a couple minutes.

But I have logged in successfully using ibmcloud login command

回答1:

Issue is resolved now. The account I created at IBM was lite account where the initial credentials were created with different location. But my ibmcloud login was picking another location api. Even if i could give the api enpoint manually, org and space was not matching. Since it was a Lite account, there was no permission to add another org and space. AFter sending mail to IBM, I could add my credit card details and I could create a new space and creating action worked now