-
Notifications
You must be signed in to change notification settings - Fork 0
Error Code
JeongHyeon Kim edited this page Nov 30, 2025
·
1 revision
{
"type": "https://your-domain.com/problem/{error-id}",
"title": "{μ§§μ μ€λ₯ μμ½}",
"status": {HTTP μν μ½λ},
"detail": "{μμΈ λ©μμ§}",
"instance": "{μμ²ν API κ²½λ‘}",
"errorCode": "{μλΉμ€ λ΄λΆ λΉμ¦λμ€ μ½λ}" // νμ₯ νλ
}{
"type": "https://example.com/errors/user-not-found",
"title": "USER_NOT_FOUND",
"status": 404,
"detail": "μμ²ν IDμ μ¬μ©μλ₯Ό μ°Ύμ μ μμ΅λλ€.",
"instance": "/api/v1/users/123",
"errorCode": "U001"
}- type : λ¬Έμνλ μ€λ₯ μλ³μ URL
- title : μ§§μ μ€λ₯ μ λͺ©
- status : HTTP Status Code
- detail : λ¬Έμ μμΈ λ©μμ§
- instance : μ€λ₯κ° λ°μν API κ²½λ‘
- errorCode : μλΉμ€ λ΄λΆ λΉμ¦λμ€ μ½λ (컀μ€ν μ½λ μ μ©)
| HTTP | type | errorCode | μ€λͺ |
|---|---|---|---|
| 404 | /problem/user-not-found | U001 | USER_NOT_FOUND |
| 400 | /problem/invalid-request | C001 | INVALID_REQUEST_ERROR |