Last updated

Troubleshooting Rooms API error responses

This topic lists all the possible errors you might encounter while using the Rooms API and how to resolve them.

Working with errors

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

HTTP Error CodeOTA Error CodeDescriptionReason and Possible Fix
HTTP 400 Bad Request320Invalid valueThe API returns errors.details and errors.description that captures which part of the request body contains invalid values and a description to help you troubleshoot the error. See the list of Rooms API validation rules and respective error descriptions.

To know more about the exact fields with invalid values, most errors will include values within errors.details.fields.
HTTP 400 Bad Request321Required field missingUse the errors.details and errors.description field to identify the missing required fields and a description to help you troubleshoot the error.
To know more about the exact fields with missing values, parse the errors.details.fields.
HTTP 400 Bad Request394Invalid itemCan occur when you specify an unknown parameter in the request. Make sure to specify the right parameters. Check for typos.
HTTP 400 Bad Request450Unable to processCan occur due to one of the following reasons: incorrect endpoint URL/HTTP method or invalid JSON body. Make sure to use the correct endpoint URL/HTTP method or check if the request has a valid JSON body.
HTTP 401 Unathorized-Access deniedThe request contains invalid authentication credentials.
Provide the correct authentication details.