Skip to main content
Nylon uses standard HTTP status codes and returns errors as JSON.

Common status codes

  • Do not retry 400 or 401 responses without changing the request or credentials.
  • Retry 429 and temporary 5xx responses with exponential backoff.
  • Log the status and error code, but never log the API key.
  • Use the error message for diagnostics, not as a stable programmatic identifier.