mijnhost opened a new issue, #10621:
URL: https://github.com/apache/cloudstack/issues/10621

   ### problem
   
   When using the getSPMetadata API call, it always returns:
   ```
   🙈 Error: failed to authenticate, please check the credentials
   ```
   
   Other commands are working with my API key and secret key, only this command 
always fails. I'm Root Admin.
   
   The command also isn't in the API list, but deeplink is available 
[here](https://cloudstack.apache.org/api/apidocs-4.20/apis/getSPMetadata.html). 
It's also mentioned in the documentation for 4.20, so should work. I changed 
the API cache file for cloudmonkey to still use it.
   
   I also tried with cURL and the same error (other commands are here also 
working with my API key and secret key).
   
   ### versions
   
   4.20.0
   
   ### The steps to reproduce the bug
   
   ```
   $ cmk
   set apikey XXX
   set secretkey XXX
   set url https://XXX:8443/client/api
   getSPMetadata
   🙈 Error: failed to authenticate, please check the credentials
   ```
   
   All other commands are working without problems.
   
   ### What to do about it?
   
   Not sure, hope you can help and find the issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to