Contacts not coming through to Constant Contact from my website

Regular Participant

Contacts not coming through to Constant Contact from my website

I am getting the following error when I run the syncconstantcontact.v3.php script.:

error_description":"refresh_token parameter is required for grant_type=refresh_token","error":"invalid_request

It appears there is an issue with the code in getaccesstoken.v3.php since I am getting the following error:

"error_description":"Authorization code is invalid or expired.","error":"invalid_grant"


How do I solve the issue with the expired Authorization code?

Running the first code above should sync contacts in my database with constant contact but that is not working now.


Getting the same problem.



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 the scripts you're using aren't correctly generating Access and Refresh Tokens, we’d be happy to take a look at your code to see if we can provide any further insight. Please feel free to send copies of your PHP scripts to for review and we’ll follow up via email with our findings.


Courtney E.
API Support Specialist

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.
Developer Portal

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

Visit Page