Reference
Errors and troubleshooting
Handle request failures, answer failures, uploads, and long-running discoveries safely.
HTTP errors
400Bad RequestMissing query, invalid area or continuation, or an invalid limit.
401UnauthorizedMissing or invalid bearer token.
413Payload Too LargeUploaded spatial files exceed configured size limits.
500Server ErrorDiscovery failed and no useful result response could be produced.
Error body
HTTP errors return a JSON object with a safe public error string.
Invalid limit
{
"error": "limit must be an integer from 1 to 2000."
}Answer failures are different
If retrieval succeeds but answer generation fails, the API returns HTTP 200 with answer.status set to failed. Keep and use the GeoJSON results.
For long-running requests, increase the SDK, CLI, or MCP timeout. Set answer to false when you only need GeoJSON.

