GitHub user mijnhost closed a discussion: getSPMetadata API call can't authenticate
### 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. GitHub link: https://github.com/apache/cloudstack/discussions/10625 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org