org_unavailable
The message text is shown in the example below.
| HTTP status | 403 |
type | permission_error |
| Retry? | No, not unchanged |
| Status | In the public catalog (error-envelope.ts) |
| Extra fields | none |
When it happens
The credential’s organization is suspended or being deleted.
Example
{
"error": {
"type": "permission_error",
"code": "org_unavailable",
"message": "The organization this credential belongs to is not available.",
"param": null,
"request_id": "req_6f1c2a9e0b7d4c3a8e5f1b2d"
}
}How to fix it
- An owner should check billing and account notices in the Console, or contact support.
Detect it in code
err = resp.json().get("error", {})
if resp.status_code == 403 and err.get("code") == "org_unavailable":
log.warning("%s (%s)", err["message"], err["request_id"]) # fix the request; do not retry unchangedRelated
Was this page helpful?