Visual RFC.
ALL RFCs / RFC 9457
Read the RFC ↗
RFC 9457 / MECHANISM GUIDE

A problem response

01

A JSON problem object provides machine-readable error information alongside an HTTP status.

RFC 9457 · § 3EXAMPLE
3 / 3
03
Interpret both layers

Generic HTTP software reads the status; clients may use the structured details.

A problem responseA JSON problem object provides machine-readable error information alongside an HTTP status.A problem responseHTTP/1.1 403 ForbiddenContent-Type: application/problem+json{ "type": "https://api.example/credit", "title": "Insufficient credit", "status": 403 }HTTP status and generated status member agree

Key idea: Use application/problem+json for the JSON format.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Use application/problem+json for the JSON format.
  • Problem details complement HTTP status semantics rather than redefining them.
  • The status member, if present, must match the status generated in the HTTP response.

Examples are illustrative. Consult the linked RFC and its errata for implementation details.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A request starts a conversation.

A client asks for a resource. A server sends a response. The method, address, headers, and status explain what that conversation means.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

What changed
RFC 7807RFC 9457 Appendix D

The revision adds a registry of common problem type URIs and clarifies multiple-problem handling and type-URI guidance.

Read the updated RFC section ↗

All chapters in RFC 9457

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗