BizKitHub
PUBLIC_FORM_DOES_NOT_EXIST

Form does not exist or is not active.

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

Nazwy i opisy kodów prowadzimy po angielsku.

HTTP 404Publiczne API
The form referenced by code or slug does not exist in this organisation, or its `active` flag is false and it has been hidden from the public API. Inactive forms intentionally return 404 (not 403) so the existence of internal-only forms is not disclosed.

Jak to rozwiązać

  1. 1

    Verify the form code/slug is correct and the form belongs to the organisation behind the API key.

  2. 2

    In the admin UI, check that the form is published / active.

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": "Form does not exist or is not active.",
  "errorCode": "PUBLIC_FORM_DOES_NOT_EXIST",
  "hint": "The form referenced by code or slug does not exist in this organisation, or its `active` flag is false and it has been hidden from the public API. Inactive forms intentionally return 404 (not 403) so the existence of internal-only forms is not disclosed.",
  "documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_FORM_DOES_NOT_EXIST"
}
Dokumentacja referencyjna:Kody błędów API|Publiczne API|HTTP 404