---
title: "Errors"
description: "Every problem type the Layers of the South API can answer with, grouped in families, with its status, meaning and remedy, and how JSON-RPC errors map to them."
url: "https://layersofthesouth.org/developers/errors"
language: "en"
license: "CC-BY-SA-4.0"
licenseUrl: "https://creativecommons.org/licenses/by-sa/4.0/"
edition: "2.1.2"
snapshotId: "a97585a61f004ba4f14a180c979693a8349f73714026759678d87b4d70253db9"
aiAssisted: true
editorialDisclosure: "AI-assisted draft; not reviewed by a specialist."
apiCatalog: "https://layersofthesouth.org/.well-known/api-catalog"
---

**Open Portal Standard** `v1.0.0`**Site Edition** `v2.1.2`**API Contract** `lts-read-operations/3`**Snapshot SHA-256** `a97585a61f00…`

[RFC 9727 API Catalog →](https://layersofthesouth.org/.well-known/api-catalog) [Markdown mirror (index.md)](https://layersofthesouth.org/developers/errors/index.md)

000 Developers

# Errors

Every error is a problem document (RFC 9457) with a stable `code`. Its `type` is an address that explains the code and the way out. 85 codes, in 12 families.

001 Shape

## What an error looks like

A recorded example. `type` resolves at `/problems/{code}` as Markdown or JSON; a browser is sent to the entry on this page.

Request

```
GET https://layersofthesouth.org/api/v1/search?q=pattanam&limit=1000
Accept: application/json
```

```
curl --silent --show-error \
  --header 'Accept: application/json' \
  'https://layersofthesouth.org/api/v1/search?q=pattanam&limit=1000'
```

Response

```
HTTP/1.1 400 Bad Request
Content-Type: application/problem+json; charset=utf-8
Cache-Control: no-store
Access-Control-Allow-Origin: *
Link: </.well-known/api-catalog>; rel="api-catalog", </api/v1/openapi.json>; rel="service-desc", </developers/reference>; rel="service-doc", </api/v1/status>; rel="status", </schemas/developers/problem/1.json>; rel="describedby"; type="application/schema+json"
RateLimit-Policy: "instance-read";q=600;w=30
RateLimit: "instance-read";r=600;t=0
```

```
{
  "type": "https://layersofthesouth.org/problems/out_of_range",
  "title": "Value out of range",
  "status": 400,
  "detail": "Field 'limit' must be between 1 and 100 (got 1000).",
  "instance": "/api/v1/search",
  "code": "out_of_range",
  "field": "limit"
}
```

Recorded from snapshot `8704bbb4a54e`, an earlier release. This release answers with its own snapshot id.

002 Families

## Problem types

The service returns these descriptions in English; they are quoted here as it returns them.

### Request syntax

The request could not be read as sent. Fix its form and send it again.

| Code | Status | Meaning and remedy |
| --- | --- | --- |
| [`malformed_json`](https://layersofthesouth.org/problems/malformed_json) | `400` | **Malformed JSON**. The request body is not valid JSON. Send one JSON object encoded as UTF-8. The detail names the position of the first error. |
| [`duplicate_json_key`](https://layersofthesouth.org/problems/duplicate_json_key) | `400` | **Duplicate JSON key**. An object in the request body repeats a key, so its meaning is ambiguous. Send each key once. |
| [`invalid_json_value`](https://layersofthesouth.org/problems/invalid_json_value) | `400` | **Invalid JSON value**. The body contains a value strict JSON does not allow, such as NaN, Infinity or a lone surrogate. Replace the value with a finite number or valid Unicode text. |
| [`empty_body`](https://layersofthesouth.org/problems/empty_body) | `400` | **Empty request body**. The operation needs a JSON body and none was sent. Send the JSON object the operation's schema describes. |
| [`invalid_object`](https://layersofthesouth.org/problems/invalid_object) | `400` | **Not a JSON object**. The body, or a member that must be an object, is another JSON type. Send a JSON object where the schema asks for one. |
| [`duplicate_query_parameter`](https://layersofthesouth.org/problems/duplicate_query_parameter) | `400` | **Duplicate query parameter**. A query parameter appears more than once. Send each query parameter once. |
| [`unknown_field`](https://layersofthesouth.org/problems/unknown_field) | `400` | **Unknown field**. The request names a query parameter or body field the operation does not define. Unknown names are refused so that a misspelt filter is never silently ignored. Remove the field named in `field`, or correct its spelling against the OpenAPI description. |
| [`invalid_unicode`](https://layersofthesouth.org/problems/invalid_unicode) | `400` | **Invalid Unicode**. A text value contains a lone UTF-16 surrogate. Send well-formed Unicode. |
| [`invalid_control_character`](https://layersofthesouth.org/problems/invalid_control_character) | `400` | **Control character in text**. A text value contains a control character that is not allowed. Remove control characters other than tab, line feed and carriage return. |

### Parameter values

The request was read, but a parameter or field holds a value the operation does not take.

| Code | Status | Meaning and remedy |
| --- | --- | --- |
| [`invalid_parameter`](https://layersofthesouth.org/problems/invalid_parameter) | `400` | **Invalid parameter**. A parameter or field does not meet the rule stated in the detail. Correct the value named in `field` and send the request again. |
| [`invalid_type`](https://layersofthesouth.org/problems/invalid_type) | `400` | **Wrong type**. A parameter or field has the wrong JSON type. Send the type the schema states for `field`. |
| [`invalid_integer`](https://layersofthesouth.org/problems/invalid_integer) | `400` | **Not an integer**. A value that must be a whole number is not one. Send a base-10 integer. |
| [`invalid_enum`](https://layersofthesouth.org/problems/invalid_enum) | `400` | **Value not in the allowed set**. A value is not one of the options the operation accepts. Use one of the options listed in the detail. |
| [`out_of_range`](https://layersofthesouth.org/problems/out_of_range) | `400` | **Value out of range**. A number is below the minimum or above the maximum for its field. Use a value inside the range in the detail. Every bound is published at /api/v1/capabilities. |
| [`max_length_exceeded`](https://layersofthesouth.org/problems/max_length_exceeded) | `400` | **Text too long**. A text value has more Unicode code points than its field allows. Shorten the value. The limits are published at /api/v1/capabilities. |
| [`empty_value`](https://layersofthesouth.org/problems/empty_value) | `400` | **Empty value**. A required text value is empty or only white space. Send a non-empty value for `field`. |
| [`missing_parameter`](https://layersofthesouth.org/problems/missing_parameter) | `400` | **Missing query parameter**. A required query parameter is absent. Add the parameter named in `field`. |
| [`missing_required_field`](https://layersofthesouth.org/problems/missing_required_field) | `400` | **Missing required field**. A required field or argument is absent, or none of a set of alternatives was sent. Send the field, or one of the alternatives, named in the detail. |
| [`invalid_interval`](https://layersofthesouth.org/problems/invalid_interval) | `400` | **Invalid year interval**. The start year of a range is later than its end year. Send a start year that is not later than the end year. Years before the common era are negative. |
| [`invalid_sha256`](https://layersofthesouth.org/problems/invalid_sha256) | `400` | **Invalid SHA-256 digest**. A digest is not 64 lowercase hexadecimal characters. Send the SHA-256 as 64 lowercase hexadecimal characters, with no prefix. |
| [`invalid_canonicalization`](https://layersofthesouth.org/problems/invalid_canonicalization) | `400` | **Unknown canonicalisation**. The request names a digest scheme the service does not define. Use one of the digest schemes listed under digestSchemes at /api/v1/capabilities. |
| [`contradictory_alias`](https://layersofthesouth.org/problems/contradictory_alias) | `400` | **Two spellings disagree**. The same parameter was sent under two accepted spellings with different values. Send one spelling of the parameter. |
| [`conflicting_claim_input`](https://layersofthesouth.org/problems/conflicting_claim_input) | `400` | **Claim text and claim id disagree**. The free-text claim and the claim id in one request do not describe the same claim. Send the claim id or the text, or make the two agree. |

### Methods and media types

The method, the body's media type or the Accept header does not fit the route.

| Code | Status | Meaning and remedy |
| --- | --- | --- |
| [`method_not_allowed`](https://layersofthesouth.org/problems/method_not_allowed) | `405` | **Method not allowed**. The route exists but does not answer this HTTP method. Use one of the methods in the Allow header of the response. |
| [`not_acceptable`](https://layersofthesouth.org/problems/not_acceptable) | `406` | **Not acceptable**. The Accept header rules out the only media type this operation returns. Accept application/json, or omit the Accept header. |
| [`unsupported_media_type`](https://layersofthesouth.org/problems/unsupported_media_type) | `415` | **Unsupported media type**. The request body is not declared as application/json. Send the body with Content-Type: application/json. |

### Size limits

The request or the result is larger than a published limit.

| Code | Status | Meaning and remedy |
| --- | --- | --- |
| [`payload_too_large`](https://layersofthesouth.org/problems/payload_too_large) | `413` | **Request body too large**. The request body is larger than the limit published as maxJsonBodyBytes. Send a smaller body. Read the limit at /api/v1/capabilities. |
| [`package_limit_exceeded`](https://layersofthesouth.org/problems/package_limit_exceeded) | `413` | **Too many studies for one package**. An evidence package was asked for more studies than one package may hold. Ask for fewer studies per package, in several requests. The limit is evidencePackageMaxStudies at /api/v1/capabilities. |
| [`package_bytes_exceeded`](https://layersofthesouth.org/problems/package_bytes_exceeded) | `413` | **Package too large**. The evidence package would exceed the size limit, so it was not built. Ask for fewer studies per package. The limit is evidencePackageMaxBytes at /api/v1/capabilities. |

### Rate limits

The serving instance asks the caller to slow down.

| Code | Status | Meaning and remedy |
| --- | --- | --- |
| [`resource_budget_exceeded`](https://layersofthesouth.org/problems/resource_budget_exceeded) | `429` | **Too many requests**. The serving instance has spent its request budget for the moment, or is already handling as many requests as it allows at once. The budget is per serving instance and approximate; no caller is identified or tracked. Wait the number of seconds in the Retry-After header, then retry with exponential backoff. RateLimit-Policy states the quota for this class of request. |

### Access and origin

Problems that arise only on the private preview. The public API needs no key, account or allowlisted origin.

| Code | Status | Meaning and remedy |
| --- | --- | --- |
| [`origin_not_allowed`](https://layersofthesouth.org/problems/origin_not_allowed) | `403` | **Origin not allowed**. The request came from a browser origin that the private preview does not list. The public API answers every origin. Call the public API, or use an origin the preview allows. |
| [`preview_unauthorized`](https://layersofthesouth.org/problems/preview_unauthorized) | `401` | **Preview authentication required**. The deployment is a private preview and the request carries no valid preview credential. The public API needs no credential. Call the public API at the canonical origin, or send the preview credential. |
| [`preview_configuration_error`](https://layersofthesouth.org/problems/preview_configuration_error) | `503 or 403` | **Preview not configured**. The deployment is neither an approved public release nor a correctly configured private preview, so it answers nothing. Call the public API at the canonical origin. Operators: complete the access configuration of this deployment. |

### Snapshot selection

The snapshot the request names is malformed, unknown, withdrawn or named twice with different values.

| Code | Status | Meaning and remedy |
| --- | --- | --- |
| [`invalid_snapshot_id`](https://layersofthesouth.org/problems/invalid_snapshot_id) | `400` | **Invalid snapshot id**. A snapshot selector is neither the word current nor 64 lowercase hexadecimal characters. Send `current`, or a snapshot id copied from /api/v1/releases. |
| [`snapshot_not_found`](https://layersofthesouth.org/problems/snapshot_not_found) | `404` | **Snapshot not found**. No snapshot with this id is in service. List the snapshots in service at /api/v1/releases, or omit the selector to read the latest one. |
| [`snapshot_expired`](https://layersofthesouth.org/problems/snapshot_expired) | `410` | **Snapshot no longer served**. The snapshot was published once and has since left the retention window. The id still names that edition; the service no longer serves it. Read the latest snapshot, or choose one listed at /api/v1/releases. |
| [`snapshot_not_published`](https://layersofthesouth.org/problems/snapshot_not_published) | `404` | **Snapshot not published**. The snapshot exists but is not part of the approved public collection. Use a snapshot listed at /api/v1/releases. |
| [`snapshot_conflict`](https://layersofthesouth.org/problems/snapshot_conflict) | `409` | **Conflicting snapshot selectors**. The snapshot named in the URL path, or bound to a task id, differs from the one named elsewhere in the same request. Name the snapshot once, or make every selector agree. |
| [`conflicting_snapshot_selectors`](https://layersofthesouth.org/problems/conflicting_snapshot_selectors) | `409` | **Conflicting snapshot selectors**. Two of the query parameter, the X-LTS-Snapshot header, the request body and a saved query name different snapshots. Name the snapshot once, or make every selector agree. |

### Records not found

The route exists, but the record, place or resource asked for does not, or more than one matches.

| Code | Status | Meaning and remedy |
| --- | --- | --- |
| [`not_found`](https://layersofthesouth.org/problems/not_found) | `404` | **Not found**. The record asked for does not exist in the selected snapshot. Check the identifier. /api/v1/search finds studies, and /api/v1/catalogue lists every one. |
| [`endpoint_not_found`](https://layersofthesouth.org/problems/endpoint_not_found) | `404` | **No such endpoint**. No operation of the HTTP API answers at this path. Read the list of operations at /api/v1/openapi.json, or start from /api/v1. |
| [`resource_not_found`](https://layersofthesouth.org/problems/resource_not_found) | `404` | **Resource not found**. The document or resource named by the URL or URI does not exist. Check the name against the list that advertises it: /developers/errors lists the problem types, and resources/list on the tool endpoint lists its resources. |
| [`study_not_found`](https://layersofthesouth.org/problems/study_not_found) | `404` | **Study not found**. No study has this id or route slug in the selected snapshot. Find the study with /api/v1/search, or list every id at /api/v1/catalogue. |
| [`site_not_found`](https://layersofthesouth.org/problems/site_not_found) | `404` | **Place not found**. No maintained place record matches the name sent. Use one of the place identifiers named in the detail. |
| [`inscription_not_found`](https://layersofthesouth.org/problems/inscription_not_found) | `404` | **Inscription not found**. No recorded inscription matches the text, term or identifier sent. Search with another spelling or with the identifier of a recorded inscription. No match is not evidence about the inscription itself. |
| [`layer_not_found`](https://layersofthesouth.org/problems/layer_not_found) | `404` | **Layer not found**. The place is known but has no recorded layer with this name. Ask for the place alone to see the layers recorded for it. |
| [`unknown_claim_id`](https://layersofthesouth.org/problems/unknown_claim_id) | `404` | **Unknown claim id**. No curated claim has this id. Use one of the claim ids listed in the detail, or send the claim as text. |
| [`ambiguous_identifier`](https://layersofthesouth.org/problems/ambiguous_identifier) | `409` | **Ambiguous identifier**. The identifier matches more than one study, and the service will not choose between them. Pick one entry from `candidates` in the response and repeat the request with its id. |

### Pagination

A cursor does not belong to the query or snapshot it was sent with.

| Code | Status | Meaning and remedy |
| --- | --- | --- |
| [`invalid_cursor`](https://layersofthesouth.org/problems/invalid_cursor) | `400` | **Invalid cursor**. The cursor is not one this service issued, or it is damaged. Start again from the first page and pass on each `nextCursor` exactly as received. |
| [`cursor_snapshot_mismatch`](https://layersofthesouth.org/problems/cursor_snapshot_mismatch) | `409` | **Cursor belongs to another snapshot**. The cursor was issued for a different snapshot from the one this request reads, usually because a new edition was published during the walk. Start again from the first page. To keep one walk on one snapshot, send `snapshot=<id>` on every page. |
| [`cursor_filter_mismatch`](https://layersofthesouth.org/problems/cursor_filter_mismatch) | `409` | **Cursor belongs to another query**. The query or its filters changed between pages. A cursor is bound to the query that produced it. Start again from the first page with the new filters. |

### Saved queries, replay and packages

A structured read, a saved query or an evidence package could not be accepted or verified.

| Code | Status | Meaning and remedy |
| --- | --- | --- |
| [`invalid_schema_version`](https://layersofthesouth.org/problems/invalid_schema_version) | `400` | **Unknown saved-query schema**. The saved query does not declare the schema version this service reads. Send `schemaVersion: "saved-query/1"`. |
| [`unsupported_operation`](https://layersofthesouth.org/problems/unsupported_operation) | `400` | **Unsupported read operation**. The structured read names an operation that does not exist. Only the published read operations can be run. Use one of the operations the structured-read schema lists. |
| [`unsupported_operation_version`](https://layersofthesouth.org/problems/unsupported_operation_version) | `400` | **Unsupported operation version**. The structured read names a version of the operation set this service does not run. Send the operation version the structured-read schema states. |
| [`missing_replay_expectation`](https://layersofthesouth.org/problems/missing_replay_expectation) | `400` | **Replay needs an expected digest**. A replay was requested without the digest of the result it expects, so there is nothing to verify. Include `expectedResultSha256`, as written into the saved query when it was exported. |
| [`missing_replay_input`](https://layersofthesouth.org/problems/missing_replay_input) | `400` | **Saved query outside the package**. The saved query reads a study that is not among the studies of the package being built. Add the study to `studyIds`, or leave the saved query out. |
| [`replay_expectation_mismatch`](https://layersofthesouth.org/problems/replay_expectation_mismatch) | `409` | **Replay result differs**. The result computed from the selected snapshot does not have the digest the saved query expects: the data or the query has changed. Replay against the snapshot the query was saved from, or compare the two editions at /api/v1/releases/compare. |
| [`artifact_metadata_mismatch`](https://layersofthesouth.org/problems/artifact_metadata_mismatch) | `409` | **Stored text fails its digest**. The stored text of a study does not match the digest recorded for the selected snapshot, so the package was not built. Retry later or choose another snapshot. The service does not ship text it cannot verify. |
| [`artifact_bytes_unavailable`](https://layersofthesouth.org/problems/artifact_bytes_unavailable) | `404` | **File bytes not held**. Byte-for-byte verification was asked for a file whose exact bytes the function does not hold for the selected release. Download the file and compare its SHA-256 with the published checksum yourself. |

### Agent messages and tasks

A message, task reference or mirrored file request on the agent endpoints is malformed.

| Code | Status | Meaning and remedy |
| --- | --- | --- |
| [`invalid_role_enum`](https://layersofthesouth.org/problems/invalid_role_enum) | `400` | **Invalid message role**. The message role is not the user role the agent endpoint accepts. Send `role: "ROLE_USER"`. |
| [`invalid_part_structure`](https://layersofthesouth.org/problems/invalid_part_structure) | `400` | **Outdated message part**. A message part uses a wrapper from an earlier revision of the agent protocol. Send each part as an object with exactly one of `text` or `data`. |
| [`invalid_part_oneof`](https://layersofthesouth.org/problems/invalid_part_oneof) | `400` | **Message part needs one content member**. A message part carries both `text` and `data`, or neither. Send exactly one of `text` or `data` in each part. |
| [`task_context_mismatch`](https://layersofthesouth.org/problems/task_context_mismatch) | `400` | **Context does not match the task**. The context id sent with a task reference is not the context that task belongs to. Send the context id returned with the task, or leave it out. |
| [`invalid_task_state_enum`](https://layersofthesouth.org/problems/invalid_task_state_enum) | `400` | **Invalid task state**. The task list was filtered by a state name the protocol does not define. Use a task state name defined by the agent protocol. |
| [`invalid_page_token`](https://layersofthesouth.org/problems/invalid_page_token) | `400` | **Invalid page token**. The page token of a task list is not one this service issued. List from the start and pass on each token exactly as received. |
| [`page_token_scope_mismatch`](https://layersofthesouth.org/problems/page_token_scope_mismatch) | `400` | **Page token belongs to another list**. The page token was issued for a different release or a different filter. List from the start with the current filter. |
| [`invalid_elicitation_choice`](https://layersofthesouth.org/problems/invalid_elicitation_choice) | `400` | **Choice not offered**. The answer to a clarifying question is not one of the options that were offered. Answer with one of the options in the question. |
| [`invalid_task_filename`](https://layersofthesouth.org/problems/invalid_task_filename) | `400` | **Invalid task file name**. The name of a retained task file contains characters that are not allowed. Use a file name listed at /api/v1/a2a-packs.json. |
| [`invalid_task_path`](https://layersofthesouth.org/problems/invalid_task_path) | `400` | **Invalid task path**. The path of a retained task file points outside the task directory. Use a file name listed at /api/v1/a2a-packs.json. |
| [`task_not_found`](https://layersofthesouth.org/problems/task_not_found) | `404` | **Task not found**. No task has this id. List the tasks with ListTasks and use an id it returns. |
| [`task_not_cancelable`](https://layersofthesouth.org/problems/task_not_cancelable) | `409` | **Task cannot be cancelled**. The task has already finished. Nothing to cancel; read the task with GetTask. |
| [`push_notifications_not_supported`](https://layersofthesouth.org/problems/push_notifications_not_supported) | `400` | **Push notifications not offered**. The agent sends no push notifications. Leave out push configuration and read the reply to SendMessage. |
| [`operation_not_supported`](https://layersofthesouth.org/problems/operation_not_supported) | `400` | **Operation not offered**. The agent does not offer this operation, such as streaming. Use SendMessage. |
| [`content_type_not_supported`](https://layersofthesouth.org/problems/content_type_not_supported) | `415` | **Media type not handled**. A message part, or every accepted output mode, uses a media type the agent does not handle. Send text or JSON parts and accept application/json or text/plain. |
| [`extended_agent_card_not_configured`](https://layersofthesouth.org/problems/extended_agent_card_not_configured) | `400` | **No extended agent card**. The agent has only its public card. Read /.well-known/agent-card.json. |
| [`version_not_supported`](https://layersofthesouth.org/problems/version_not_supported) | `400` | **A2A version not supported**. The A2A-Version header is missing (read as 0.3) or names a version the agent does not speak. Send the header A2A-Version: 1.0. |
| [`unknown_tool`](https://layersofthesouth.org/problems/unknown_tool) | `400` | **Unknown tool**. The tool endpoint has no tool by this name. Call tools/list and use a name it returns. Names from earlier editions are still accepted. |
| [`unknown_prompt`](https://layersofthesouth.org/problems/unknown_prompt) | `400` | **Unknown prompt**. The tool endpoint has no prompt by this name. Call prompts/list and use a name it returns. |
| [`elicitation_unresolved`](https://layersofthesouth.org/problems/elicitation_unresolved) | `400` | **Clarification not resolved**. The answers to the clarifying questions still do not identify one record after the permitted attempts. Send the request again with an exact identifier, such as a study id from /api/v1/search. |

### Server and integrity

The service could not complete a valid request, or refused to answer with data it could not verify.

| Code | Status | Meaning and remedy |
| --- | --- | --- |
| [`internal_error`](https://layersofthesouth.org/problems/internal_error) | `500` | **Internal error**. The service failed while handling a request it could not fault. Nothing about the request is recorded. Retry once. If it fails again, ask for less in one request: a smaller page or fewer studies. |
| [`error`](https://layersofthesouth.org/problems/error) | `500` | **Unclassified error**. The service answered with an error it has not classified more precisely. Act on the HTTP status and the detail. |
| [`service_unavailable`](https://layersofthesouth.org/problems/service_unavailable) | `503` | **Service unavailable**. The function is running but has no snapshot it can serve. Retry after a short wait. /api/v1/status reports the state of the service. |
| [`resource_unavailable`](https://layersofthesouth.org/problems/resource_unavailable) | `404` | **Resource unavailable**. The resource is not one the selected release advertises, or its content is missing from that release. Choose a resource the release lists, or read the latest snapshot. |
| [`resource_integrity_error`](https://layersofthesouth.org/problems/resource_integrity_error) | `409` | **Resource failed verification**. A release resource did not match the manifest of the selected release, so it was not served. Retry later or choose another snapshot. The service does not serve data it cannot verify. |
| [`full_study_body_unavailable`](https://layersofthesouth.org/problems/full_study_body_unavailable) | `500` | **Study text unavailable**. The full text of a study is not available to the function, and it will not substitute a summary for it. Retry later. The study's Markdown twin at /read/<slug>/index.md carries the same text. |

003 JSON-RPC

## Errors on the agent endpoints

The MCP and A2A endpoints answer in JSON-RPC 2.0. Where an error wraps a problem type, its code is in `error.data.code` on MCP and `error.data[0].code` on A2A.

| Code | Name | Endpoint | Meaning | Carries a problem code |
| --- | --- | --- | --- | --- |
| `-32700` | `Parse error` | `mcp, a2a` | The body is not valid JSON. | No |
| `-32600` | `Invalid Request` | `mcp, a2a` | The body is not a single JSON-RPC 2.0 request object, or a protocol requirement of the request is not met. | No |
| `-32601` | `Method not found` | `mcp, a2a` | The method is not one the endpoint implements. | No |
| `-32602` | `Invalid params` | `mcp, a2a` | The parameters are malformed, or a catalogued problem occurred while validating them. | Yes |
| `-32603` | `Internal error` | `mcp, a2a` | The service failed on a valid request. | Yes |
| `-32000` | `Server error` | `mcp, a2a` | A catalogued problem that is not a parameter fault, including the rate limit (HTTP 429 with Retry-After). | Yes |
| `-32002` | `Resource not found` | `mcp` | No resource has the URI that was asked for. | Yes |
| `-32020` | `Header mismatch` | `mcp` | A mirrored HTTP header is missing or disagrees with the request body. | No |
| `-32022` | `Unsupported protocol version` | `mcp` | The request names a protocol revision the server does not speak. | No |
| `-32001` | `TaskNotFoundError` | `a2a` | No task has the id that was asked for. | Yes |
| `-32002` | `TaskNotCancelableError` | `a2a` | The task has already finished and cannot be cancelled. | Yes |
| `-32003` | `PushNotificationNotSupportedError` | `a2a` | The agent sends no push notifications. | Yes |
| `-32004` | `UnsupportedOperationError` | `a2a` | The operation, such as streaming, is not offered by this agent. | Yes |
| `-32005` | `ContentTypeNotSupportedError` | `a2a` | A message part or a requested output mode uses a media type the agent does not handle. | Yes |
| `-32007` | `ExtendedAgentCardNotConfiguredError` | `a2a` | The agent has no extended card. | Yes |
| `-32009` | `VersionNotSupportedError` | `a2a` | The A2A-Version header is missing or names a version the agent does not speak. | Yes |

- [Overview](https://layersofthesouth.org/developers)
- [Quick start](https://layersofthesouth.org/developers/start)
- [HTTP reference](https://layersofthesouth.org/developers/reference)
- [Agents](https://layersofthesouth.org/developers/agents)
- [Workbench](https://layersofthesouth.org/developers/workbench)
- [Schemas](https://layersofthesouth.org/developers/schemas)
- [Data](https://layersofthesouth.org/developers/data)
- [Releases](https://layersofthesouth.org/developers/releases)
- [Standards](https://layersofthesouth.org/developers/interoperability)
- [Reuse](https://layersofthesouth.org/developers/reuse)
- [Guides](https://layersofthesouth.org/developers/guides)
- [Changes](https://layersofthesouth.org/developers/changes)
- [Status](https://layersofthesouth.org/developers/status)
- [Errors](https://layersofthesouth.org/developers/errors)

[This page as Markdown](https://layersofthesouth.org/developers/errors/index.md) · [All developer pages in one Markdown file](https://layersofthesouth.org/developers/docs.md)
