400 Bad Request Request error
Space policy root only
errorCode: ERR-0048 What it means
The maxKeyExpiryDays policy can only be set on the root space.
What you can do
Check the request against the message and try again.
Example response
{
"type": "https://docs.atlas.ilionx.dev/errors/ERR-0048", "title": "Bad Request", "status": 400, "detail": "The maxKeyExpiryDays policy can only be set on the root space.", "instance": "/v1/…", "errorCode": "ERR-0048"}Branch on errorCode, not on detail: the code is stable, the wording may change.