Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this pageProducts used
Looking for more inspiration?Visit the
Error
Application error

19031: Maximum number of locations allowed reached

Twilio API Documentation and Error CodesAPI

Description

description page anchor

This error occurs when your request tries to create more than five locations for a single contact. Reduce the total number of locations in the contact payload before you retry the request.

Possible causes

possible-causes page anchor
  • The request body includes more than five location objects for one contact.
  • The contact already has five saved locations and the request tries to add another one.
  • A bulk upsert request adds locations to an existing contact and pushes the total above the five-location limit.
  • Send no more than five locations for each contact.
  • Remove an existing location before you add a new one.
  • Review the full contact payload before you retry the request and remove duplicate, outdated, or unnecessary locations.
  • If you update contacts in bulk, validate the final number of locations for each contact so the combined total does not exceed five.

Additional resources

additional-resources page anchor