As a general rule, you should never retry a request on a 4xx error before attempting to fix the issue first.
- The 4xx errors indicate a problem with the call, not the service.
- The most common one is 400 which typically means there is an invalid parameter like the reservation ID or property ID is missing.
- The common special case is 401 (Unauthorized) where you should try to get a new auth token: https://api.cloudbeds.com/api/v1.2/access_token to refesh the token a nd can try the call again with the new auth token.
Comments
0 comments
Please sign in to leave a comment.