Skip to Content
AgentSlot

Errors

Errors returned by the gateway itself, and how to tell them apart from errors returned by your router and your provider.

Three sources of errors

Errors from your provider are passed through unchanged when they concern the request itself, for example an invalid parameter or an unsupported model feature. Rate limits and key problems are retried on another instance first; you only see them when no other instance can take the request.

Errors from your workspace's router cover an unknown model name, a model outside the access point's rules or an access point over its concurrency limit. They use Magpie's error format, for example with status 403 or 429.

Errors from the AgentSlot gateway use the error format of the endpoint you called and carry one of the types below.

Anthropic Messages endpoints:

{
  "type": "error",
  "error": {
    "type": "no_available_instance",
    "message": "Your workspace has no running instance to route to yet, or its router cannot be reached."
  }
}

OpenAI-compatible endpoints:

{
  "error": {
    "type": "no_available_instance",
    "code": "no_available_instance",
    "message": "Your workspace has no running instance to route to yet, or its router cannot be reached."
  }
}

Error types

StatusTypeMeaningWhat to do
400invalid_requestThe path is not a gateway endpoint, or the method is not the endpoint's.Check the endpoint path against the client configuration in the dashboard.
401invalid_tokenThe access token is missing, malformed or revoked.Copy the configuration again from the access point page in the dashboard.
413request_too_largeThe request body exceeds 32 MB.Reduce attachments or context size.
503no_available_instanceYour workspace has no running instance to route to yet, or its router cannot be reached.Check instance states in the dashboard and update credentials where asked; retry shortly if every instance is running.

Contacting support

Write to support@agentslot.ai and include the AgentSlot-Request-Id header from the failed response. We reply within 3 business days.

On this page