Error code
CANCELLATION_NOT_ALLOWED_FOR_JOURNEY
The journey cannot be cancelled this way
400, failedReturned by Partners API
On this page
Cause
The free cancellation window has passed and acceptCharges is false, or the journey's status no longer allows cancellation (it is completed, in progress or already cancelled).
What to do
Send acceptCharges true to cancel with costs, after confirming the traveller accepts them. Completed or cancelled journeys cannot be cancelled.
Endpoints that return it
- Cancel journey POST /journeys/{journeyId}/cancel
Outside the free window with acceptCharges false, or the journey is completed or already cancelled.
- Cancel booking POST /bookings/{id}/cancel
The free cancellation window has passed and acceptCharges is false.