fobignDocs
HTTP Status & Error Responses

Errors & Status Codes

Fobign returns standard HTTP status codes along with structured JSON error bodies following the OpenAI specification.

CodeCategoryDescription
200 OKSuccessInference executed successfully.
400 Bad RequestMalformed PayloadInvalid JSON structure or unsupported model parameter.
401 UnauthorizedAuthentication ErrorMissing, malformed, or revoked secret API key.
402 Payment RequiredInsufficient Wallet BalanceWallet balance depleted. Please top up funds on platform.fobign.com.
429 Rate LimitedRate Limit ExceededRequests exceeded configured RPM or TPM capacity.
502 Bad GatewayUpstream UnavailablePrimary and secondary upstream provider clusters unreachable.

Standard Error JSON Response

{ "error": { "message": "Insufficient developer wallet balance. Please top up your balance at platform.fobign.com.", "type": "insufficient_balance", "param": null, "code": "insufficient_balance" } }