BizKitHub
PUBLIC_CALENDAR_EVENT_DOES_NOT_EXIST

Calendar event does not exist.

Z BizKitHub Docs, reference chybových kódů API

Názvy a popisy kódů udržujeme v angličtině.

HTTP 404Veřejné API
The event code does not exist in this organisation, or the customer behind `identityId` has no paid reservation of it and is not its attendee. Both cases answer 404 so foreign events are not disclosed.

Jak to vyřešit

  1. 1

    Use the event `id` from `GET /api/v1/customer/order-list` (`lines[].event.id`).

  2. 2

    Check that the order of the reservation is paid and the reservation was not cancelled.

Ukázka odpovědi

API odpoví statusem HTTP 404 a tělem ve formátu JSON. Porovnávejte errorCode, ne message. Zprávy se mohou přeformulovat, kódy zůstávají stejné.

application/json
{
  "state": "error",
  "code": 404,
  "message": "Calendar event does not exist.",
  "errorCode": "PUBLIC_CALENDAR_EVENT_DOES_NOT_EXIST",
  "hint": "The event code does not exist in this organisation, or the customer behind `identityId` has no paid reservation of it and is not its attendee. Both cases answer 404 so foreign events are not disclosed.",
  "documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_CALENDAR_EVENT_DOES_NOT_EXIST"
}