Errors
The Gomry API uses standard HTTP status codes to indicate the outcome of a request. Errors return a JSON body with anerror field describing the issue.
Error Response Format
Status Codes
Refund Refusals
Rejecting or deleting an attendee who paid refunds them, so it answers with a code inerror (plus message, and a quote when there is one) until it can go ahead: 409 refund_confirmation_required, 409 refund_quote_changed, 409 insufficient_balance, 403 refund_permission_required, 502 refund_failed, and 409 ticket_refunded when setting a refunded attendee back. What each means and how to answer it: Update Attendee.
Moving the start of an event with paid orders by more than 6 hours opens a refund window, so PATCH /events/{event_id} answers 409 date_change_ack_required (with quote and window_closes_at) until the body carries "acknowledge_refund_window": true, and 403 refund_permission_required for a key without payments read access: Update Event.
Handling Errors
A
404 response does not confirm the resource doesn’t exist — it may belong to a different organization. The API intentionally returns 404 instead of 403 to avoid leaking information about other organizations’ data.
