Skip to main content

Exhaustive Error Code Catalog

fype uses standardized error codes to help you programmatically handle issues. All errors include an error_code, a message, and an optional details array.

Client Errors (4xx)

Server Errors (5xx)

SDK Mapping

If you are using our SDKs, these errors are raised as typed exceptions:

Node.js

  • fypeAuthenticationError (401)
  • fypeInvalidRequestError (400, 422, 404, 409)
  • fypeApiConnectionError (500, 502, timeouts)
  • fypeError (Generic fallback)

Python

  • AuthenticationError (401)
  • InvalidRequestError (400, 422, 404, 409, 410)
  • ApiConnectionError (500, 502, timeouts)
  • fypeError (Generic fallback)

Webhook Verification Errors

If signature verification fails on your server, the SDK will throw a:
  • Node.js: fypeSignatureVerificationError
  • Python: SignatureVerificationError
This usually means your Webhook Secret (whsec_...) is mismatched or you are not passing the raw request body for verification.