Errors
Error responses use the Booking Channel API format: the HTTP status code is repeated in code, with a message and, when useful, extra fields.
{
"code": 403,
"message": "ERROR_MESSAGE_ONBOARDING_REQUEST_REFUSED",
"reason": "not_available",
"statusCode": 403
}
| Code | When |
|---|---|
400 | Validation failed (form.errors lists the fields), a duplicate request (the message carries the existing reference), or an unknown status filter |
401 | The token is missing or not valid |
403 | The reservation software is not available to your channel (reason is not_available). A refused request is not stored |
404 | Unknown reservation software code, or the request does not belong to your channel |
5xx | Something went wrong on Mozrest's side |
Contact support@mozrest.com if you believe a software should be available to you.