Trouble shooting error codes¶
This section enables you to troubleshoot the possible errors you can encounter when working with the Photo API.
Let us know if you encounter other errors
If you encounter errors that are not addressed in this guide, reach out to Customer Support and we can add those errors to this guide.
200 errors¶
The following codes are errors that occur with a 200
code.
PHOTO_NOT_ENABLED¶
When trying to set the main photo with the /photo-api/properties/{property_id}/gallery
endpoint, the PHOTO_NOT_ENABLED
error signals that the action was unsuccessful. Sometimes it takes a few minutes for the photo to be processed, so try again later.
{
"meta": {
"ruid": "UmFGT679tetc"
},
"data": {
"success": 0
},
"warnings": [],
"errors": [{
"code": "PHOTO_NOT_ENABLED",
"message": "The specified photo is not yet ready to be assigned as the main photo. Please try after some time!",
"details": {
"photo": ["hcbcFgLumXc"]
}
}]
}