unprocessable-entity
HTTP 422 Unprocessable Entity
Only the platform admin endpoints return this type. They require a superadmin account, so integrations that work with a regular API key never see it. Input that fails validation answers validation instead.
Triggers
- Granting superadmin rights:
PATCH /v1/admin/users/:idwould make a user superadmin who is not linked to Clerk. Such a user could never use the rights. - Impersonation:
POST /v1/admin/impersonation/:targetUserIdtargets your own account or another superadmin.
{ "type": "https://docs.qr3.app/errors/unprocessable-entity", "title": "Unprocessable Entity", "status": 422, "detail": "Cannot impersonate another superadmin."}