Skip to main content

Forbidden

A forbidden request HTTP status is 403. The request is authenticated but is not allowed to access the resource.

Missing roles

If the request has role-based access it will show the roles that you need to continue.

How to continue

Your administrator must grant you at least one of the roles listed in the error message.

Example response

{
"errors": [
{
"title": "Forbidden",
"status": "403",
"detail": "The request does not match the required roles.",
"meta": {
"need": {
"Team admin": "/v0/roles/re.zzPM_zD0XxanyyuvZqjqwQ"
},
"have": {
"Compliance": "/v0/roles/re.zgjLzECYUxODtzPdjEGl3Q"
}
},
"links": {
"about": "https://docs.griffin.com/docs/errors/forbidden#missing-roles"
}
}
]
}