In case when a Channel manager sends a reservation in a format different from Mews API requirements, the reservation will fail and Mews will return error code: 7. Mews Technical Partnership Success team checks on failed reservations daily and contacts Channel Manager partners.

NOTE: there is no automation to notify customers, so Mews Support team will contact them informing about a missing reservation.

Possible errors

For more detailed information, please refer to Channel API documentation here.

Reservation code

The following \"error\":{\"code\":7,\"message\":\"Invalid value 'code' of 'reservation'.\ is returned in cases:

  • reservation codes are not provided
  • reservation codes are not unique

Reservation amounts

The following \"error\":{\"code\":7,\"message\":\"Invalid value '-100.0' of 'reservation.amounts'..gross'.\ is returned in case:

  • Night amounts are negative
  • Total reservation amount is negative
  • Amounts missing
  • Number of amounts per night is greater/less than number of booked nights. E.g., reservations is booked for one night, but amounts are sent for two nights or vice versa.

Extra amount

The following \"error\":{\"code\":7,\"message\":\"Invalid value '-80.0' of 'extra.amount.gross'.\ is returned in case:

  • Extra amounts are negative
  • Extra amount missing

Extra count

The following \"error\":{\"code\":7,\"message\":\"Invalid value of 'extra.count'.\" is returned in case:

  • Extra count equals or below 0

Reservation guests

The following \"error\":{\"code\":7,\"message\":\"Invalid 'reservation.guests' - there is more guests than 'reservation.adultCount' and 'reservation.childCount' combined.\ is returned in case:

  • when total number of adultCount and childCount does not equal number of guest profiles. E.g., adultCount: 1 and childCount: 2 , number of guest profiles should be 3.

Reservation guest: last name

The following \"error\":{\"code\":7,\"message\":\"Invalid value of 'reservation.guest.lastName'.\ is returned in case:

  • Last name in guest or/and customer profile is missing. This is required information. In case it is not provided, it should be replaced with UNKNOWN.

Did this answer your question?