ospalabs

Errors

Fuse refusals are JSON with error, message, and request_id. The provider is not called unless the status came from the provider.

  • 401 invalid_fuse_key — missing, malformed, unknown, or revoked.
  • 401 fuse_key_expired — the key passed its expiry date. Create a new one.
  • 403 project_paused — the kill switch is on for the project or the whole account.
  • 403 fuse_key_disabled — the key is turned off in the dashboard.
  • 402 subscription_inactive — this project is beyond the one the free Hobby plan covers.
  • 402 fuse_blown — this request would cross a ceiling. scope says which one: project, key (the key's own cap), feature (the cap on the x-fuse-tag, also returned as tag) or customer (the cap for the id in x-fuse-user, also returned as customer).
  • 403 customer_blocked or feature_blocked — that customer (x-fuse-user) or tag (x-fuse-tag) is blocked in the dashboard.
  • 400 invalid_customer_id or invalid_tag — x-fuse-user or x-fuse-tag has characters Fuse won't store.
  • 403 no_ceiling_configured — set a ceiling first.
  • 403 provider_key_missing — that provider has no key.
  • 403 provider_misconfigured — the custom base URL is invalid.
  • 400 model_not_allowed — turn the model on.
  • 400 model_not_priced — Fuse has no price for it.
  • 400 model_wrong_api — that model isn't used on this path, such as an image model on chat.
  • 400 image_option_not_priced — Fuse has no listed price for that image size or quality.
  • 403 ip_not_allowed — this Fuse key has an IP list and the request came from outside it.
  • 403 domain_not_allowed — this Fuse key has a domain list and the request's Origin or Referer isn't on it.
  • 403 team_plan_required — the usage API needs the Team plan.
  • 400 endpoint_not_supported — that provider does not serve this path.
  • 400 unsupported_in_v1 — image edits, transcription, video, files, batch, realtime, built-in tools, or n greater than 1 on chat.
  • 400 invalid_json or invalid_request — the body cannot be priced.
  • 413 payload_too_large — body over 8 MB.
  • 429 rate_limited — the key is over its per-minute limit, or too many bad keys were sent.
  • 502 upstream_unreachable or upstream_body_failed — the provider did not finish.
  • 503 fuse_unavailable — the ceiling could not be checked, so nothing was forwarded.
  • 404 not_found — the path is not under /v1.