본문 바로가기
Backend#Backend#API조회 2

Problem Details (RFC 7807)란?

정의

HTTP API 에러 응답 표준 포맷. type·title·status·detail·instance.

Problem JSON

{
  "type": "https://example.com/errors/out-of-credit",
  "title": "You do not have enough credit.",
  "status": 403,
  "detail": "Current balance is 30, cost is 50.",
  "instance": "/account/12345/msgs/abc"
}

REST 에러 응답의 표준화된 방법. RFC 9457(후속)이 최신.

🔗 함께 보면 좋은 용어

Backend 전체 →