Skip to content

getSPMetadata API call can't authenticate #10621

@mijnhost

Description

@mijnhost

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. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions