Skip to main content

role_forbidden

HTTP Status: 403 Category: Authentication

When you see this

Caller is authenticated but their role is not permitted on this endpoint (e.g. a viewer trying to upload media).

How to fix it

Contact the media agency owner to elevate the role, or call the endpoint with an API key that belongs to a permitted role.

Example response

{
"error": {
"code": "role_forbidden",
"message": "Caller is authenticated but their role is not permitted on this endpoint (e.g. a viewer trying to upload media).",
"hint": null,
"doc_url": "https://docs.valara.cloud/api-reference/errors/role_forbidden",
"request_id": "req_01H...",
"details": {
"errors": [],
"field_count": 0
}
}
}