We all started somewhere! Share your experience on the Get Advice: Let's Get Started Sweepstakes thread and be entered to win a $100 credit on your Constant Contact account.

Error when updating a client through the API

ttt24
Frequent Participant

Error when updating a client through the API

Hello,

This morning we saw,  Mar 3, '20 6:58 pm GMT -08:00 Pacific Time
400 Bad Request  
[{"error_key": "contacts.api.bad_request","error_message": "Cannot transition state via :implicit_confirm from \"O\(Reason(s): State cannot transition via \"implicit confirm\")"}]

We do not have the payload sent to u guys. We added that now to have more information.
Would you guys have more information on why the error might occur.

If there is no extra information, we will wait until the error occurs again and have more information on what was sent.

3 REPLIES 3
Jimmy_D
Moderator

Hello @ttt24,

 

Thank you for reaching out to Constant Contact's API Support.

 

That error in general means the contact is in a state where you cannot change it; only the contact can make changes to their profile. This usually occurs when they have explicitly updated themselves via a sign-up form.

 

If you need to change the contact's information you will need to perform the action as if you were the contact instead of doing it as the account owner. If you mention which version of the API you are using I can point you to the correct documentation page.


Regards,
Jimmy D.
Tier II API Support Engineer
ttt24
Frequent Participant

hello,
thank you for your response.
We are using V3.

Have a good one.

Hi @ttt24,

 

Please check this page and specifically look at the schema for the update_source.


Regards,
Jimmy D.
Tier II API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page