Listed below are common errors that may be returned by the endpoint, along with their corresponding status code.
Status Code - 400
Missing Authorization header
{"error":{"type":"missing_authorization","message":"Your request does not include an 'Authorization' header with a bearer token for your account."}}
Status Code - 401
Expired Authorization header bearer token value
{"error":{"type":"expired_token","message":"The bearer token you have provided in the 'Authorization' header has expired. Please obtain a new one."}}
Status Code - 401
Invalid Authorization header bearer token value
{"error":{"type":"invalid_authorization","message":"The bearer token you have provided in the 'Authorization' header is invalid."}}
Status Code - 400
Returned if no group id is provided
No group provided for the listing
{"error":{"type":"no_group_provided","message":"You have not provided a group for the listing."}}
Status Code - 400
Returned if no or wrong unit type is provided
No or wrong unit type provided for the listing
{"error":{"type":"missing_or_invalid_unit_type","message":"You have not provided a unit type or provided an invalid unit type value for the listing. Please specify a unit type of apartment or studio_apartment."}}
Status Code - 400
Returned if no listing url is provided
No listing url for the listing
{"error":{"type":"no_listing_url","message":"You have not provided a listing URL for the listing."}}