Search Errors
Web DataThe Search API can return different error responses when a request cannot be completed. Most documented error statuses use ErrorResponse.
Successful empty results
A 200 response can include an empty results array when the engine answered and found nothing. That search is not charged.
Error response shape
{
"code": "PINNED_ENGINE_UNAVAILABLE",
"message": "Human-readable error description",
"correlation_id": "4a9ef715-b20f-4b7f-a2e0-6c0128994171",
"retryable": true,
"details": {}
}| Field | Description |
|---|---|
code | Machine-readable error code |
message | Human-readable error description |
correlation_id | Request correlation id |
retryable | Whether a retry may succeed |
details | Extra context, when present |
Validation failures (for example page above the allowed max) can also return FastAPI-style {"detail": [...]} bodies.
Common statuses
| Status | OpenAPI meaning |
|---|---|
401 | Unauthorized |
402 | Billing refused the request: no balance, no active subscription, or the key's spend cap; see Billing Refusals |
403 | Billing does not allow this API key; see Billing Refusals |
408 | Request timed out |
422 | Upstream blocked the query, or it returned no results (also used for some validation cases) |
429 | Request throttled |
500 | Internal server error |
502 | Upstream unreachable (includes pinned-engine failures such as PINNED_ENGINE_UNAVAILABLE) |
503 | Service temporarily unavailable |
If you pin engine and that engine fails, the API does not fall back. Omit engine when you want rotation and fallback.
Handle errors in your application
response = requests.post(
"https://scraper.geonode.io/v1/search",
headers={
"X-Api-Key": "YOUR_API_KEY",
"Content-Type": "application/json"
},
json={
"query": "web scraping best practice"
}
)
if response.status_code == 200:
data = response.json()
else:
print(response.json())What's Next?
For the complete request and response definitions, see the Search API Reference.
Was this page helpful?