✕
Skip to main content
The following list of HTTP status codes is returned by FlyStack. Each status code indicates the outcome of an API call and suggests a potential resolution for errors.

Error format

Every error has the same JSON body, with a stable code to branch on and a human-readable message:

Additional Notes

  • 400 Bad Request: This status indicates that the server cannot process the request due to a client error (e.g., malformed request syntax or invalid parameters).
  • 401 Unauthorized: Typically returned when an invalid API key is used. Make sure your API key is active and not expired.
  • 402 Payment Required: Occurs if there are outstanding invoices. Settle any open invoices to continue using the API.
  • 403 Forbidden: Indicates that the user does not have permission to access the requested resource.
  • 405 Method Not Allowed: The endpoint exists but not for this HTTP method.
  • 429 Too Many Requests: The client has sent too many requests in a given amount of time (rate limiting), or the monthly quota of the plan is used up (QUOTA_EXCEEDED).
  • 500 Internal Server Error: This is a generic error message for unexpected server issues. Check logs for more detailed information.