Hotel desk error codes (mpbx-api-ops, mpbx-integrations)
Raised by /api/v1/hotel/.... Messages carry a short machine reason, never a
guest's name. Guide: Hotel front desk.
| Code | HTTP | Meaning | What to do |
|---|---|---|---|
MPBX-HOTEL-ROOM-NOT-FOUND | 404 | No such room in the company (or no room rings on that extension). | Add the room first, or check the room number. |
MPBX-HOTEL-ROOM-STATE | 409 | The room is not in the state the action needs: room_vacant (no guest), room_occupied (a guest is checked in), room_out_of_order, room_exists. | Check the room in, out or back in service first. |
MPBX-HOTEL-INVALID | 400 | A malformed room number (bad_room), extension (bad_extension), language tag (bad_lang), date (bad_date), class of service (bad_class: a vacant room is restricted or internal, an occupied one at least internal) or wake-up time (bad_time, in_the_past, too_far). | Fix the value named in the message. |
MPBX-HOTEL-EXTENSION-TAKEN | 409 | Another room already rings on that extension. | Pick another extension or change the other room. |
MPBX-HOTEL-NO-OWNER | 409 | Do-not-disturb needs an extension with an owner account (DND is the owner's status). | Give the room extension an account. |
MPBX-HOTEL-WAKEUP-LIMIT | 409 | The room already has three pending wake-up calls. | Cancel one first. |
MPBX-HOTEL-WAKEUP-NOT-FOUND | 404 | No pending wake-up with that id (it rang, was cancelled or belongs to another company). | Reload the list. |
MPBX-HOTEL-UNAVAILABLE | 503 | The desk's database step or the phone system did not answer. | Try again. |