What happened
A contact’s phone number can change only while nothing has happened with it. This one has texts, chats, or calls (outbound calls that never connected don’t count), is opted out, is in Free Plan verification, is owned by Follow Up Boss, HubSpot or Close, is in a group chat, or has a scheduled text waiting.error.details[0].reason says which: has_history, opted_out, verification, followupboss, hubspot, close, group, or scheduled_text. Nothing on the contact was changed.
How to fix it
Create a new contact for the new number withPOST /v1/contacts. For followupboss, hubspot or close, change the number in that CRM. Giving a number to a contact that has none is always allowed.
Example response
An illustrative example. Themessage wording and the contents of details vary; branch on error.code.
Still stuck?
Email support@blujay.io with thetrace_id from the error response. See Errors for the response format.