← All problems

DOMAIN-SPECIFIC EXAMPLE / approval-window-closed

Approval window closed

The requested approval conflicts with the submission’s current state because its approval window has closed.

HTTP 409

Customization example: replace or remove this contract to match your domain.

Canonical type URI

https://errors.ctrlbox.dev/problems/approval-window-closed

This stable URI identifies the problem type, not a particular occurrence.

What to do next

  • Ask the submission owner to reopen the approval window.

HTTP response contract

Set the actual HTTP status to 409 and Content-Type: application/problem+json. The JSON status below must agree with the actual response status.

RFC-defined members

type
The canonical URI above; clients use it as the primary problem identifier.
title
Approval window closed — a stable human-readable summary (localization is permitted).
status
409 — advisory in the body; it does not set the HTTP status.
detail
A safe explanation specific to this occurrence. Clients should not parse it for machine decisions.
instance
An optional URI reference identifying a specific occurrence. It need not resolve; avoid sensitive identifiers.

These five members are defined by RFC 9457. This template includes type, title, status, and detail in its samples; RFC 9457 does not require all five.

Custom extension fields

submissionId string
Public identifier of the submission, when the caller is authorized to see it.

Extensions belong to this type’s contract. Consumers must ignore extensions they do not recognize.

Example response body

Illustrative occurrence data. Construct the response manually in your application or automation.

Domain-specific customization example

{
  "type": "https://errors.ctrlbox.dev/problems/approval-window-closed",
  "title": "Approval window closed",
  "status": 409,
  "detail": "This submission is no longer accepting approvals.",
  "submissionId": "sub_example"
}

Keep established public type URIs stable. The names here are template conventions, not an RFC catalogue. Read the response guide for manual setup and standards references.