Skip to main content

User Request Errors

Errors arrive as the GraphQL error message. <status>_user_request embeds the current status in lower case, for example confirmed_user_request.

CodeAPIWhen
<status>_user_requestconfirm, begin_personal_payment, decline, cancel, process, add_passenger_feeThe request is in the wrong status for this action
unauthorizedconfirm, begin_personal_payment, decline, cancel, processThe caller can't act on this request — not its creator, or another admin is handling it
not_foundconfirm, begin_personal_payment, decline, cancel, process, booking_request_progressUnknown id, or no booking request yet
user_request_fee_not_foundconfirm, add_passenger_feeA fee id isn't one of the request's fees
duplicate_user_request_feeconfirmThe same fee id was sent twice
invalid_corporate_amountconfirmA fee's corporate_amount is negative
corporate_amount_exceeds_priceconfirmA fee's corporate_amount is more than its price
no_personal_amountbegin_personal_paymentNothing is left for the requester to pay
personal_payment_in_progressbegin_personal_paymentAnother call started a payment at the same moment, and it ended before this call could return it; call again
fees_requiredprocessAn update request was moved to ISSUED without fees
missing_fee_dataprocess, add_passenger_feeA fee is missing the data matching its fee_type
fee_leg_requiredprocessA fee on a round-trip request has no leg
fee_leg_mismatchprocessA fee's leg isn't the request's leg
invalid_fee_legprocessA fee's leg is ROUND_TRIP
invalid_fee_priceprocessA fee's price is negative
duplicate_feeprocessTwo seats, or two baggages, on the same leg
invalid_statusprocessA PENDING request was sent straight to ISSUED
invalid_paramsprocessThe request already has that status
locked_issued_requestprocessWaiting for the requester to confirm or decline
locked_awaiting_personal_payment_requestprocessWaiting for the requester to pay their part
locked_confirmed_requestprocessAlready confirmed; waiting for approvers
user_request_not_foundadd_passenger_feeUnknown user_request_id
user_request_fee_id_requiredadd_passenger_feeuser_request_id was sent without user_request_fee_id
paid_user_request_feeadd_passenger_feeThe fee was already applied
user_request_fee_type_mismatchadd_passenger_feefee_type isn't the fee's type
user_request_booking_mismatchadd_passenger_feeThe request is for a different booking
user_request_passenger_mismatchadd_passenger_feeThe request is for a different passenger
user_request_leg_mismatchadd_passenger_feeThe fee is for the other leg
payment_unreachableadd_passenger_feePayment service didn't answer; the charge may have gone through
id_or_user_request_id_requiredbooking_request_progressNeither input field was sent
corporate_unauthorizedbooking_request_progressA non-admin who belongs to no company

Removed in this release: amount_required (now fees_required), consumed_user_request (now paid_user_request_fee), corporate_amount_required, corporate_amount_exceeds_amount and corporate_amount_not_allowed.

Each operation's own page lists the errors specific to it, under APIs. For authentication and role failures, see Middleware Errors.