Developers
Get access

Floor area required

We could not turn the number of bedrooms into a floor area for this area and property type, so the home cannot be valued without one.

Status
422 Unprocessable Content
Type
https://developers.checkmystreet.co.uk/errors/floor-area-required
Charged
No
Retry
Yes, with floorAreaSqm in the request.

Example

{
  "type": "https://developers.checkmystreet.co.uk/errors/floor-area-required",
  "title": "Floor area required",
  "status": 422,
  "detail": "We have no typical floor area for a 7-bedroom flat in M1 1. Send floorAreaSqm."
}

What to do

  • Send floorAreaSqm, the floor area in square metres, instead of or as well as bedrooms.
  • The floor area on the property's Energy Performance Certificate is a good source.
  • Use a new Idempotency-Key: the request has changed.

Test it

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

Related

Updated