Skip to content

Admin reason required

FieldValue
Type URIhttps://echo.labstack.com/pro/problems/admin-reason-required
Codeadmin_reason_required
HTTP status422
HTTP statusEnglish title
422Unprocessable Entity

The action requires a reason, and the commit did not include one.

Enter a non-empty reason and submit again.

If your application installs a custom handler, the body may differ.

HTTP/1.1 422 Unprocessable Entity
Content-Type: application/problem+json
Cache-Control: no-store
{
"code": "admin_reason_required",
"detail": "",
"status": 422,
"title": "Unprocessable Entity",
"type": "https://echo.labstack.com/pro/problems/admin-reason-required"
}

Check that the action form includes its required reason. Keep credentials and secrets out of that reason.

  • code (string, always): The stable code above.
  • detail (string, always): The console always sends detail. It is often empty and never contains the underlying error.
  • status (integer, always): The HTTP status of the response.
  • title (string, always): The HTTP status text, such as Conflict, unless the panel supplies its own title.
  • type (string, always): The exact type URI above.

Headers:

  • Cache-Control (always): no-store. The console sends it on every problem response, along with its usual security headers.

Notes:

  • Fields are written in alphabetical order.
  • The console rewrites every 404 response to admin_not_found with an empty detail.

See the admin console for access checks, action IDs and audit failures.