> For the complete documentation index, see [llms.txt](https://developer.gotadi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.gotadi.com/english/b2b2c-partner/api-method/hotel-1/result-codes.md).

# Result codes

Codes `00`–`10` and `99` are unchanged from the existing B2B2C connection; codes from `20` upward are Partner API specific.

| Code | Name                     | When                                                                                                                           | What the partner does                                   |
| ---- | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------- |
| `00` | SUCCEEDED                | Success                                                                                                                        | —                                                       |
| `01` | ON\_PROCESS              | The booking is being processed, or another request with the same `requestId` / another `commit` on the same booking is running | Wait a few seconds, re-check with `bookings/get`        |
| `02` | FAILED                   | Processing failed                                                                                                              | Inform the guest; do not auto-retry                     |
| `03` | UNAUTHORIZED             | Partner API not enabled for this partner                                                                                       | Contact Gotadi                                          |
| `04` | INVALID\_SIGNATURE       | Bad signature                                                                                                                  | Check the signing string and private key                |
| `06` | INVALID\_ACCESS\_CODE    | `accessCode` does not match `apikey`                                                                                           | Check configuration                                     |
| `07` | INVALID\_DATA\_FORMAT    | Malformed envelope or payload, missing field                                                                                   | Fix the request per `message`                           |
| `08` | NOT\_BE\_REPROCESSED     | Booking already paid, already cancelled, or not confirmed when cancelling                                                      | Check with `bookings/get`                               |
| `09` | PENDING                  | Money taken, hotel has not confirmed                                                                                           | **Do not refund**; poll every minute                    |
| `10` | BOOKING\_DUPLICATED      | Duplicates a booking that is already paid                                                                                      | Check for a duplicate order                             |
| `20` | PRICE\_CHANGED           | Price changed at `price-check`                                                                                                 | Ask the guest, use the new `bookingToken`               |
| `21` | SOLD\_OUT                | No rooms left                                                                                                                  | Offer another rate                                      |
| `22` | TOKEN\_EXPIRED           | `offerId` or `bookingToken` expired                                                                                            | Call `offers` / `price-check` again                     |
| `23` | BOOKING\_NOT\_FOUND      | No such booking for this partner                                                                                               | Check the reference                                     |
| `24` | PAYMENT\_EXPIRED         | `commit` after `paymentDeadline`                                                                                               | Do not collect payment; rebook                          |
| `25` | SUPPLIER\_ERROR          | Hotel or room source error                                                                                                     | Retry later or offer another rate                       |
| `26` | REQUEST\_EXPIRED         | `timestamp` more than 300 seconds off                                                                                          | Sync the server clock (NTP)                             |
| `27` | DUPLICATED\_REQUEST\_ID  | `requestId` already used with a different payload                                                                              | Generate a new `requestId`                              |
| `28` | CANCEL\_PENALTY\_CHANGED | The cancellation penalty changed                                                                                               | Call `cancel-check` again                               |
| `29` | PROPERTY\_NOT\_FOUND     | No such hotel (`content/property`)                                                                                             | Check `masterId`, re-sync the catalogue                 |
| `99` | UNKNOWN\_ERROR           | System error                                                                                                                   | Retry; for `create`/`commit` check `bookings/get` first |
