400 Bad Request Request error
API key not allowed on governance space
errorCode: ERR-0058 What it means
API keys cannot be bound to organisation, division or unit spaces. Use a team space.
What you can do
Check the request against the message and try again.
Example response
{
"type": "https://docs.atlas.ilionx.dev/errors/ERR-0058", "title": "Bad Request", "status": 400, "detail": "API keys cannot be bound to organisation, division or unit spaces. Use a team space.", "instance": "/v1/…", "errorCode": "ERR-0058"}Branch on errorCode, not on detail: the code is stable, the wording may change.