Data unavailable
Something the result depends on was unavailable, so we returned nothing rather than a partial answer.
- Status
503Service Unavailable- Type
https://developers.checkmystreet.co.uk/errors/data-unavailable- Charged
- No. This error is never charged.
- Retry
- Yes, shortly, with the same key.
Example
{
"type": "https://developers.checkmystreet.co.uk/errors/data-unavailable",
"title": "Data unavailable",
"status": 503,
"detail": "A data source was unavailable. Retry shortly with the same Idempotency-Key."
}
What to do
- Retry with the same
Idempotency-Keyafter a few seconds, or afterRetry-Afterwhen the header is present. - Back off between attempts: 2, 4, then 8 seconds.
- If it lasts more than a few minutes, email admin@checkmystreet.co.uk.
Test it
In test mode, the postcode ZZ1 6AA returns this error:
curl -X POST https://api.checkmystreet.co.uk/partners/v1/valuations \
-H "Authorization: Bearer $TOKEN" \
-H "Idempotency-Key: 9d41e7a2-6c3b-4f18-8e5a-0b7c2d9f4a61" \
-H "Content-Type: application/json" \
-d '{ "postcode": "ZZ1 6AA", "propertyType": "flat", "bedrooms": 2 }'
Related
timeout: the request ran past 30 seconds.- All errors