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

19033: Location validation error


ERROR: 19033

error-19033 page anchor
ERROR

This error occurs when a location object in your request body contains invalid input values. Twilio returns it when one or more location fields fail validation, including invalid lengths or incorrect data types.

Possible causes

possible-causes page anchor
  • A field in the location object has an invalid length.
  • A field in the location object uses the wrong data type.
  • The location type value is not one of work, home, or other.
  • The location country code is not a valid ISO 3166-1 alpha-2 value.
  • The request body includes a missing, invalid, or duplicate location field.
  • Validate every location field in the request body before you send it. Make sure each value uses the expected data type and stays within the supported length.
  • Set the location type to work, home, or other.
  • Use a valid two-letter ISO 3166-1 alpha-2 country code, such as US, for the location country value.
  • Remove duplicate fields and add any required location fields that are missing from the payload.
  • Review the Contact API request format and retry the request after you correct the invalid location fields.

Additional resources

additional-resources page anchor