PUBLIC_EMAILER_VARIABLE_INVALIDVariable name is not valid.
From BizKitHub Docs, the API error code reference
HTTP 400Public API
Variable names must start with a letter and contain only letters and digits (max 64 characters).
How to resolve
- 1
Rename e.g. `first-name` to `firstName`.
Example response
The API answers with HTTP 400 and a JSON body. Match on errorCode, not on message. Messages may be reworded, codes are stable.
application/json
{
"state": "error",
"code": 400,
"message": "Variable name is not valid.",
"errorCode": "PUBLIC_EMAILER_VARIABLE_INVALID",
"hint": "Variable names must start with a letter and contain only letters and digits (max 64 characters).",
"documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_EMAILER_VARIABLE_INVALID"
}