For the complete documentation index, see llms.txt. This page is also available as Markdown.

Error Handling and Standard Error Codes

The following standard error codes are used across the Custom Provider interface and may be returned by any method, depending on the request and provider-side execution outcome.

Standard error response format

{
  "error": {
    "code": 1,
    "message": "Initialization failed"
  }
}

Standard error codes

Code
Meaning
Typical usage

1

General error

General provider-side failure when no more specific code applies

-32700

Failed to parse the request

Invalid JSON or malformed request payload

-32601

Method is not implemented

Requested method is not supported by the connector

-32602

Invalid method parameters

Missing required parameters or invalid parameter values

-32603

Internal error

Unexpected internal processing error

Last updated