Private Alpha

Troubleshooting guide

Common error codes, symptoms, and resolution steps for Gateway, approvals, credentials, and model routing issues.

Raw

This page indexes known error codes, symptoms, and resolution steps observed across Chat, Studio, Connected Apps, Model Intelligence, the Gateway, approvals, credentials, and model routing.

Gateway errors

CodeMeaningResolution
INVALID_REQUESTThe request body failed basic validation (e.g. missing messages array).Check the request format against the chat completions API.
MESSAGES_REQUIREDThe chat completions endpoint requires at least one message in the messages array.Add a messages array with at least one entry.
SETUP_REQUIREDAn AI provider is not configured for the requested route.Configure a provider API key via the Gateway dashboard or BYOK.
PROVIDER_UNAVAILABLEThe upstream AI provider could not complete the request.The request was forwarded to fallback providers if configured. If no fallback succeeded, check provider health in the Gateway dashboard.
PROVIDER_NOT_IMPLEMENTEDThe selected provider is known but not yet wired for live execution.Choose a different provider or route.
INTERNAL_ERRORUnexpected server error.Retry the request. If it persists, check Gateway server logs.

Authentication and API key errors

CodeMeaningResolution
missing_api_keyThe request did not include an API key in the Authorization header.Add Authorization: Bearer <your-key> to the request headers.
invalid_api_keyThe provided API key is not recognised.Verify the key was created and has not been revoked. Keys are hashed with SHA-256 + salt and cannot be recovered.
revoked_api_keyThe API key has been revoked and is no longer valid.Create a new API key in the Gateway dashboard.
expired_api_keyThe API key has passed its expiration date.Create a new API key or update the expiration.
insufficient_scopeThe key lacks the required scope for the requested operation.Ensure the key has the gateway:invoke scope for chat completions.

Provider credential errors

SymptomLikely causeCheck
Gateway returns SETUP_REQUIRED for a providerProvider API key is not configured (no environment variable and no BYOK credential)Set the provider's environment variable or store a BYOK credential.
test_failed credential statusThe stored credential failed a connectivity testVerify the key is valid in the provider's dashboard.
Desktop shows "Credential not available"Electron safeStorage is unavailableUse environment variables as fallback.

Approval errors

SymptomLikely causeCheck
Approval request shows stale statusThe payload hash no longer matches the current stateRe-submit the approval request with updated content.
Approval request shows blocked statusPolicy prohibits the action at the configured risk levelReview the approval policy configuration.
Approval request expired before a decisionThe expiresAt timeout was reachedCreate a new request with a longer expiry window.

Model routing errors

SymptomLikely causeCheck
Requested model not availableThe model is not in the Gateway model catalog or is restricted by provider allowlistCheck the model catalog.
Provider skipped in routingCircuit breaker open, provider not configured, or blocked by allowlistCheck provider health in the Gateway dashboard.
Request fails with no fallbackAll eligible providers are unavailableVerify at least one provider is configured and has a closed circuit breaker.

Chat

SymptomLikely causeCheck
Stream stalls or errors mid-answerTransient provider or network failureCancel and retry once; if it persists, check status.
Signed-out loop / session errorsExpired or invalid sessionSign out and back in; clear site cookies for chat.upcube.ai if it repeats.
Voice session answers VOICE_NOT_CONFIGUREDVoice not configured on this deploymentNothing to fix client-side; the deployment names the missing server key.
Model behaves unexpectedlyCapabilities differ per modelConfirm the model selector choice; compare capabilities on Model Intelligence.

Studio

SymptomLikely causeCheck
Workbench unreachable after sign-inPrivate-alpha enrollment missingAccess requires enrollment; see status.
Job fails with VALIDATION_ERRORBad prompt, unknown task, or bad parametersFix the named field; nothing was reserved or spent.
Job lands in an uncertain outcomeProvider state could not be confirmedRead the job's recovery steps; check activity before retrying.
Empty catalog or missing endpointsCatalog fetch failureThis is an error, never an empty result — retry; persistent emptiness is a bug, report it.

Connected Apps and Flow

CodeMeaningResolution
NEEDS_REAUTHProvider grant expired or revoked upstreamReconnect the connection from settings.
MISSING_SCOPE / SCOPE_NOT_GRANTEDAction needs an ungranted scopeGrant the named scope or decline the action.
APPROVAL_REQUIREDAction needs your approvalApprove the exact action, or deny it.
APPROVAL_MISMATCH / APPROVAL_EXPIREDApproval no longer matches or timed outReview and approve again.
ADMIN_POLICY_BLOCKEDWorkspace admin blocked the actionAsk your admin for access.
CONNECTION_NOT_FOUNDConnection revoked or never existedReconnect; pending actions on it will not run.
UNKNOWN_OUTCOMECompletion could not be confirmedCheck activity before retrying.

Model Intelligence API

SymptomLikely causeCheck
/api/mi/v1/models/:slug answers 404Unknown slugList the index and copy the slug exactly; slugs are case-sensitive.
301 redirectSlug movedFollow the redirect to the canonical slug.
410 removedModel deliberately removedIt will not come back under this slug; pick another model.
500 quarantinedModel held for reviewRead the reason; retry later.

See also

Last verified 2026-10-03 · Owner platform-team