HTTP response code: 401
{
"error": "server_error",
"error_description": "The authorization code is invalid or has expired."
}
Explanation: Based on the API keys automatic delivery or OAuth 2.0. authentication, this 401 error means that the 'authorization_code' is invalid or has expired.
The 'authorization_code' is valid for 10 minutes and can only be used once. If you get this error, the user would need to re-authorize (start your app connection process again).
HTTP response code: 401
{
"error": "access_denied",
"message": "The resource owner or authorization server denied the request."
}
Explanation: An invalid API key or no API key were included in the request. A valid API key needs to be included.
HTTP response code: 200
{
"success": false,
"message": "User who approved this connection is not active anymore"
}
Explanation: The user who initially authorized the integration has been deactivated. A current user in the property should reconnect your App to restore the integration.
HTTP response code: 200
{
"success": false,
"message": "Your request could not be fully completed. The property(ies) you are accessing have an invalid status. See details:\ncanceled: XXX"
}
Explanation: The property is no longer active in Cloudbeds.
Comments
0 comments
Please sign in to leave a comment.