Last updated

Troubleshooting and list of error codes

Working with errors

This section captures a list of common HTTP errors you might encounter and possible solutions to fix them.

HTTP Error CodeError TextReasonPossible Fix
HTTP 400Cannot take this action on the specified opportunityWhen trying to send ENABLE as an action for a Redirect opportunity.DISMISS is the only supported action for a Redirect opportunity.
HTTP 400Key actions is requiredWhen the request is missing an action element.Make sure to specify the action element.
HTTP 400The opportunity ID was not foundAn opportunity with the specified opportunity_id does not exist.Make sure to use the opportunity ID corresponding to a specific property.
HTTP 400'XXXXX' is not an accepted value for key action (in parameter 'actions') -- should be one of: 'DISMISS', 'DONE', 'ENABLE'The value of the action parameter specified in the request does not match with one of the accepted values.Make sure to use a suitable action among the following accepted values: DISMISS, DONE and ENABLE.
HTTP 401Access deniedThe credentials provided in the request was not sufficient for a successful authentication check.To fix a failed authentication request, see the Authentication page.
HTTP 403This account doesn't have access to this propertyPossible reasons are, you are trying to send updates:
- for a property with the wrong hotel ID.
- using machine account that do not have access to the specified hotel ID.
- for a property which is no longer in active connection status with your interface.
Make sure to specify the correct hotel ID or check your machine account credentials. You can then follow the steps:
1. Check if the property is connected to you in the Provider Portal.
2. Check if the connection status is active in the ‘Properties’ tab in the Provider Portal, using the property ID.
3. Check if the property is added to the machine account you use under ‘Machine Accounts’ in the Provider Portal.
To know more about how to use the Provider Portal for the above actions, take a look at this self-help guide.
HTTP 500Internal Server ErrorPossible reason may be that Booking.com systems are experiencing temporary outage.Try calling the endpoint after some time.