BizKitHub
PUBLIC_CALENDAR_EVENT_DOES_NOT_EXIST

Calendar event does not exist.

Z BizKitHub Docs, dokumentacja kodów błędów API

Nazwy i opisy kodów prowadzimy po angielsku.

HTTP 404Publiczne 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 rozwiązać

  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.

Przykładowa odpowiedź

API odpowiada statusem HTTP 404 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.

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"
}
Dokumentacja referencyjna:Kody błędów API|Publiczne API|HTTP 404