Skip to content

Instantly share code, notes, and snippets.

@glaforge
Created November 14, 2022 10:49
Show Gist options
  • Save glaforge/083279ffced48770c9465bdeac59bcde to your computer and use it in GitHub Desktop.
Save glaforge/083279ffced48770c9465bdeac59bcde to your computer and use it in GitHub Desktop.
HTTP/1.1 403 Forbidden
Content-Type: application/problem+json
Content-Language: en
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"detail": "Your current balance is 30, but that costs 50.",
"instance": "/account/12345/msgs/abc",
"balance": 30,
"accounts": ["/account/12345", "/account/67890"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment