409 Conflict when updating contact w/o changes

KevinP5656
Rookie
0 Votes

I'm using the v2 api via the ruby sdk.  When calling update_contact with an unchanged contact, I receive a 409 Conflict error

client = ConstantContact::Api.new(
  ENV['CONSTANT_CONTACT_KEY'],
  ENV['ACCESS_TOKEN']
)

contact = client.get_contact_by_email('test@test.com')
client.update_contact(contact)

This only happens to a few contacts.  How can I figure out the conflict so I can update existing contacts?

1 REPLY 1
Courtney_E
Employee
0 Votes

Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.

 

If you are only getting the error with specific contacts, we’d be happy to look into this further with you. 


Please feel free to email us at email us at webservices@constantcontact.com, referencing case number 27616858, and include the account's username, and any example contacts whose email addresses are being affected. If you are also able to send us the full payload, that would be best. We look forward to assisting you!


Regards,

Courtney E.
Tier II API Support Engineer

Did I answer your question?
If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
Resources
Developer Portal

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

Visit Page

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up