Skip to main content
When an API request fails, Flux returns a standard JSON error response containing a message and an appropriate HTTP status code.

Standard HTTP status codes

Common error messages

Here are specific error messages you might encounter across our services and what they mean:

Authentication & Flux Pass

  • Invalid credentials (401): Incorrect email or password.
  • Invalid or expired verification code (401): The 2FA or email verification code is wrong or expired.
  • Invalid or expired refresh token (401): The refresh token has expired or was already rotated. You must log in again.
  • User already exists (409): Attempting to register an email that is already verified.

Metadata Service

  • invalid_dek (400): The provided Data Encryption Key is malformed or invalid.
  • file_not_found (404): The requested fileId does not exist in the database or cache.
  • convex_timeout (500): The underlying Convex database took too long to respond.

Webhooks

  • Missing signature (401): The X-Fluxdrop-Signature header was not provided.
  • Invalid signature (401): The HMAC SHA-256 signature does not match the payload.