Skip to content
UseQR
ESC

Jump to

MOVEOPEN50 places

GET

/errors

Errors that teach

Every 4xx is RFC 9457 problem+json with an extra fix field containing a corrected, copy-pasteable call. An agent that gets something wrong can recover in one step without reading any documentation, which is the whole design goal of this API.

View as MarkdownPaste this page into any AI assistant. It is plain, portable Markdown.

Try it

GET/errors?

Runs against this deployment. No key, no signup, nothing recorded.

Parameters

NameTypeDetail
typestringA URL identifying the problem class.
titlestringA short, human-readable summary.
statusintegerThe HTTP status code, repeated in the body.
detailstringWhat went wrong with this specific request.
fieldstringThe parameter at fault, when there is one.
fixstringA corrected call you can run as-is. This is the field that matters.

When you get it wrong

Errors are RFC 9457 problem+json with one addition: a fix field containing a corrected call you can run as-is.

{
  "type": "https://useqr.app/errors",
  "title": "Missing data",
  "status": 400,
  "detail": "Tell us what to encode: we accept data=, text=, content=, or url=.",
  "fix": "/api/v1/qr?data=hello%20world&size=512"
}