reservation_not_confirmable

Only a reservation cancelled in Repull can be confirmed again. `reason` says why this one cannot: the channel or a PMS cancelled it, or it is not cancelled.

HTTP 409The resource is not in a state that allows this operation.

When it fires

Confirm reinstates a reservation that was cancelled in Repull. This one cannot be, and reason says why:

  • cancelled_by_channel — the channel cancelled it, so it is no longer booked there.
  • channel_cancelled_too — it was cancelled in Repull, and the channel has since cancelled it as well.
  • cancelled_in_pms — a connected PMS cancelled it; restore it in the PMS and it syncs back.
  • not_cancelled — it is not cancelled, for example a booking request waiting for an answer.

See Confirm a reservation.

Response shape

Every Repull error follows the same envelope. The code is stable and safe to switch on.

{
  "error": {
    "code": "reservation_not_confirmable",
    "message": "vrbo cancelled this reservation, so it is no longer booked there. Only a reservation cancelled in Repull can be confirmed again.",
    "fix": "Only a booking cancelled in Repull can be confirmed again. A booking the channel cancelled is no longer booked there; one a PMS cancelled is restored in the PMS.",
    "docs_url": "https://repull.dev/docs/errors/reservation_not_confirmable",
    "request_id": "req_01J5X7Y8Z9ABCDEF12345678",
    "reason": "cancelled_by_channel"
  }
}

How to fix

  1. Do not retry: nothing will change.
  2. `cancelled_by_channel` or `channel_cancelled_too`: the guest needs a new booking on the channel (or a direct booking).
  3. `cancelled_in_pms`: restore the booking in the PMS; it reaches Repull with the next sync.
  4. `not_cancelled`: answer a booking request with `POST /v1/reservations/{id}/accept` or `/decline`.

Examples

curl

curl -X POST https://api.repull.dev/v1/reservations/236354/confirm \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
# → 409 reservation_not_confirmable, "reason": "cancelled_by_channel"

TypeScript

const { error } = await res.json()
if (error?.code === 'reservation_not_confirmable') {
  return { cannotConfirm: error.reason }
}

If you're an AI agent

Only a reservation cancelled in Repull can be confirmed again. `reason` says why this one cannot: the channel cancelled it (or cancelled it too), a PMS cancelled it (restore it in the PMS), or it is not cancelled. Do not retry.

Hit an error that isn't covered? Email hello@repull.dev with the request id from the response headers.

AI