automation_condition_payload_type_mismatch
The value in the event contradicts the type the trigger declares for that field, and the evaluator does not convert types: a converted comparison would give a right answer by accident and hide that the payload changed shape.
| Code | Type | HTTP | Category |
|---|---|---|---|
automation_condition_payload_type_mismatch | invalid_request_error | 422 | Automations |
Cause
The value in the event contradicts the type the trigger declares for that field, and the evaluator does not convert types: a converted comparison would give a right answer by accident and hide that the payload changed shape.
What to do
Check the trigger you chose and the field you compare; if the field is a date, send it as an ISO 8601 instant.
Related
All Automations error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.