Appearance
Errors
Errors are JSON, with an error code and, where it helps, a message:
json
{ "error": "bad_dates", "message": "to must be after from." }| Status | Code | Meaning | What to do |
|---|---|---|---|
400 | bad_dates | from or to isn't YYYY-MM-DD, to isn't after from, or the window is longer than 24 months | Fix the dates |
400 | bad_format | format isn't json or csv, or a data link asked for JSON | Use csv with a data link |
400 | bad_updated_since | updated_since isn't a date or an ISO 8601 instant | Fix the value |
400 | updated_since_not_supported | updated_since was sent to calendar or earnings | Only use it on bookings and reviews |
400 | bad_page | page isn't a whole number from 1 | Fix the value |
400 | bad_page_size | page_size isn't a whole number from 1 to 1,000 | Fix the value |
402 | subscription_lapsed | The account's Host Port subscription has lapsed | Calls work again once it's renewed |
403 | dataset_not_allowed | The connection wasn't given this dataset. allowed lists what it has | Ask for an allowed dataset, or create a connection that includes it |
404 | not_found | Unknown, rotated or turned-off credential; an API key in the URL; a data link in the header; or an unknown dataset | Check the credential and where it goes. See Authentication |
405 | method_not_allowed | Anything other than GET | Use GET |
413 | too_many_rows | More than 20,000 rows without paging | Narrow the dates or use paging |
429 | rate_limited | Too many calls this minute | Wait for Retry-After |
429 | daily_limit | 500 calls today on this connection | Wait for Retry-After, which is the time to midnight UTC |
500 | feed_failed | Something went wrong on our side while reading the data | Try again shortly. Tell us if it keeps happening |
503 | temporarily_unavailable | A short outage | Wait for Retry-After and try again |
The 404 is deliberately the same for every credential problem, so nobody can use it to guess whether a credential exists.
