Developers
Get access

Insufficient credits

Your prepaid balance does not cover this call, so it was not run.

Status
403 Forbidden
Type
https://developers.checkmystreet.co.uk/errors/insufficient-credits
Charged
No
Retry
Yes, after you top up.

Example

{
  "type": "https://developers.checkmystreet.co.uk/errors/insufficient-credits",
  "title": "Insufficient credits",
  "status": 403,
  "detail": "This call costs 10 credits and your balance is 4."
}

What to do

  • Top up by card in the console, then send the request again with the same Idempotency-Key.
  • Watch charge.balanceAfter in each response, and top up before it runs out.
  • Stop sending live calls while the balance is empty: each one returns this error.

Test it

In test mode, the postcode ZZ1 2AA 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 2AA", "propertyType": "flat", "bedrooms": 2 }'

Related

Updated