Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page
Looking for more inspiration?Visit the

19042: Custom Field validation error


ERROR: 19042

error-19042 page anchor
ERROR

The request contains one or more invalid values for a Flex custom field. This error occurs when the custom field payload does not meet the expected validation rules for type, format, or allowed length.

Possible causes

possible-causes page anchor
  • A custom field value exceeds the maximum allowed length.
  • A custom field value uses the wrong data type, such as sending text where a number, boolean, or date is expected.
  • A date value is not in the expected format.
  • A required custom field value is missing from the request.
  • The request includes a value that does not match the validation rules configured for that custom field.
  • Review the request body and confirm that every custom field uses a valid value for its configured type.
  • Verify that string values do not exceed the allowed length for the field.
  • Check that date values use the format your Flex configuration expects.
  • Remove unsupported or malformed values from the request before sending it to Twilio.
  • Compare your request with the Flex API resource you are updating or creating and correct any field-level validation issues.

Additional resources

additional-resources page anchor