If a contact has 3 addresses that were created using the online dashboard, and if this contact gets updated using the Constant Contact API, the following error message is thrown away:
#/addresses: 3 items were contained, but the maximum number of items allowed is 2.
How can I manage to update the contact then?
I have been investigating this issue, and what you have run into is an issue caused by changes in the allowed data for a contact with our new contact management system. As our transition from our old solution to our new solution for managing contact information is just finalizing, we are still working on making changes to the API to facilitate some of the changes.
One of these changes is that a contact is now allowed to have more than two physical addresses, while the API is still only set up to accommodate up to two addresses. We will be looking into this issue to resolve it but I do not have a specific timeline for when it will be done. In the immediate term, the only work-around for this issue is to have no more than two addresses associated with a single contact. This can be done by manually editing the contact with three addresses in the UI and deleting one of them.
If you have any other questions, please let us know!
I wanted to follow up on this to let you know that this issue was resolved by our engineering team. I am actually running behind on this update, as this issue was corrected at the end of October and things should be working normally for updating contacts.
If you are continuing to see any issues, please let us know!
View API documentation, code samples, get your API key.
We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...Read More