Errors and limits
Error codes, HTTP statuses and request limits.
Subscribe on RapidAPI{ "success": false, "error": { "code": "INVALID_REQUEST", "message": "The request is invalid.", "details": { "issues": [] } } }| Code | HTTP | Meaning |
|---|---|---|
INVALID_REQUEST | 400 | A parameter is missing or invalid; details.issues lists each problem |
UNAUTHORIZED | 401 | No valid credentials: call the API through your RapidAPI subscription |
NOT_FOUND | 404 | Unknown endpoint |
INTERNAL_ERROR | 500 | Unexpected error |
UNAVAILABLE | 503 | The places data is temporarily unavailable; details.reason is timeout or unavailable. Retry shortly |
An empty result is never an error: searches with no match and unknown country codes return 200 with an
empty list.
Limits
| Limit | Value |
|---|---|
Search text (q) | 1-100 characters |
Suggestions per request (limit) | 1-50, default 10 |
| Response time | Requests that take longer than 5 seconds return UNAVAILABLE with reason timeout |