PUBLIC_EMAILER_TEMPLATE_NOT_FOUNDE-mail template does not exist or is inactive.
Aus BizKitHub Docs, der Referenz der API-Fehlercodes
Titel und Beschreibungen der Codes pflegen wir auf Englisch.
HTTP 404Öffentliche API
No active template of type "Custom e-mail (sent via API)" with this code (template variant) exists in the organisation behind the API key.
So beheben Sie es
- 1
In admin go to E-maily → Šablony, create a template of type "Vlastní e-mail (odesílaný přes API)" and set its variant to the code you send.
- 2
Check that the template is active and has a subject and a body.
Beispielantwort
Die API antwortet mit HTTP 404 und einem JSON-Body. Vergleichen Sie errorCode, nicht message. Meldungen können umformuliert werden, Codes bleiben stabil.
application/json
{
"state": "error",
"code": 404,
"message": "E-mail template does not exist or is inactive.",
"errorCode": "PUBLIC_EMAILER_TEMPLATE_NOT_FOUND",
"hint": "No active template of type \"Custom e-mail (sent via API)\" with this code (template variant) exists in the organisation behind the API key.",
"documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_EMAILER_TEMPLATE_NOT_FOUND"
}