---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/19030#article
headline: "19030: Invalid location type"
url: https://www.twilio.com/docs/api/errors/19030
inLanguage: en
dateModified: 2026-06-09T11:00:42.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 19030: Invalid location type

Log Type: APPLICATION

Log Level: ERROR

## Description

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.

### Possible causes

* The location `type` field is set to a value other than `work`, `home`, or `other`.
* 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 `type` value.

### Possible solutions

* Update the request so each location `type` uses one of the supported values: `work`, `home`, or `other`.
* 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`.

#### Additional resources

* [Contact API](/docs/messaging/features/contact-api)
* [Compliance Toolkit for Programmable Messaging](/docs/messaging/features/compliance-toolkit)
* [Messaging API Overview](/docs/messaging/api)
