19030: Invalid location type
ERROR
This error occurs when your Contact API request includes a location type value that Twilio does not accept. Use only the supported location type values when you create or update contact profile data.
- The location
typefield is set to a value other thanwork,home, orother. - Your application maps location data to a custom label that the Contact API does not support.
- A create or update request includes a location object with an unsupported
typevalue.
- Update the request so each location
typeuses one of the supported values:work,home, orother. - Add request validation in your application before you send contact data to Twilio.
- Review any data mapping or transformation step that builds the location object and replace unsupported values with the accepted set.
- Resubmit the request after correcting the invalid location
type.