30647: Failed to Upsert Contact
MESSAGING
ERROR
We return this error when one or more contact objects fail validation during a Contact API bulk upsert request. Common failures include an invalid correlation_id, a contact_id that is not in E.164 format, an invalid country_iso_code, an invalid zip_code, or an internal server failure during processing.
- Reason code
INVALID_CORRELATION_ID. Thecorrelation_idfield is not a valid 32-character UUID. - Reason code
INVALID_COUNTRY_ISO_CODE. Thecountry_iso_codefield is not a valid 2-character uppercaseISO 3166-1 alpha-2country code such asUS. - Reason code
INVALID_CONTACT_ID. Thecontact_idfield is not a valid phone number inE.164format. - Reason code
INVALID_ZIP_CODE. Thezip_codefield does not match the postal code format for the country specified bycountry_iso_code. - Reason code
INTERNAL_SERVER_ERROR. The upsert request failed because of an internal server issue during processing.
- Generate a unique 32-character UUID for each
correlation_idin the request so you can map each response item back to the original contact object. - Format every
contact_idinE.164. Start the number with+, use only digits after the+, and keep the total length to 15 digits or fewer. - Use a valid two-letter uppercase
country_iso_codevalue such asUS. - Make sure each
zip_codematches the postal code format used by the country you send incountry_iso_code. - Validate phone numbers before you upsert contacts. A Lookup formatting and validation request can confirm whether a number is valid and return validation errors when it is not.
- Retry the request if you receive
INTERNAL_SERVER_ERROR. If the issue continues, collect at least 3 recentcorrelation_idvalues from the last 24 hours before contacting support.