Skip to Content
FanConvert Docs
REST API

Errors

RFC 9457 errors (application/problem+json), HTTP statuses and the stable code field.

1 min readOpen in ChatGPTOpen in Claude

Every error follows RFC 9457 (application/problem+json):

{
  "type": "https://fanconvert.app/problems/not-found",
  "title": "Ressource introuvable",
  "status": 404,
  "detail": "Créatrice introuvable : emma-demo",
  "instance": "urn:request:6c1e…",
  "code": "not-found",
  "params": {},
  "errors": []
}
  • code is stable: that is what your code should test.
  • detail is a sentence for a human (in French): it may change.
  • instance is the request number: give it to support, it finds the call.
  • errors details a rejected input field by field (422).
StatusWhenWhat to do
401key missing, invalid, expired or revokedcheck the Authorization header, create a new key if needed
403missing permission, or the person is not an admindetail names the permission; create a key that has it
404resource not found or outside the keycheck the identifier and that the creator is in the key
409write conflict (stale revision)read the resource again, then write with the current revision
422invalid parameter, or Idempotency-Key reused for another requestfix it using errors
429rate limit reachedwait Retry-After seconds (Rate limits)
503service temporarily unavailableretry later, with an increasing delay

Last updated on