Announcing our brand new Campaign Builder!

403 - Request Not Satisfied

MatthewO571
Rookie
0 Votes

Recently, I've been working on utilizing third-party API Calls to attempt to reach my Contact List with Constant Contact. In the future, I'd like to be able to PUT and POST as well, but currently, while attempting a GET, I am only receiving this 403 Error. The authentication was successful and I have the auth code, but I cannot seem to reach the API. Thanks.

MatthewO571_0-1715278229631.png

MatthewO571_1-1715278274974.png

 

 

3 REPLIES 3
Courtney_E
Moderator

Hello  MatthewO571,

 

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.

 

We'd be happy to take a look with you regarding what could be causing the error response.

 

I noticed  that in the screenshot you provided, you have a value labeled "access_token_auth_code". The access token and the auth code are two different values. The auth code returned after granting access is used to make another call which exchanges the auth code for your access token and refresh token.

 

OAuth2 Authorization Code Flow

https://v3.developer.constantcontact.com/api_guide/server_flow.html

 

If you continue to run into issues, could you please provide us [securely by email at webservices@constantcontact.com referencing case 32402432] with your full authorization request(s) , including URL, headers, timestamp, and the full response body so that we can better assist you in identifying the root cause of the issue?

 

Please have a look and let us know if you have any other questions!

 


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.
MatthewO571
Rookie
0 Votes

To my knowledge, that value is only the Token name and thusly shouldn't affect the call unless I am misunderstanding something.

As for the requested data:
There is a screen shot attached including the response body, the Get request as well as the URL. Time stamps are over the last two days, and finally, a screenshot including the headers will be added.

MatthewO571_0-1715624676571.pngMatthewO571_1-1715624728223.png

 

John__B
Moderator
0 Votes

Hello MatthewO571,

 

Thank you for your reply. 

 

It looks like we reached out to you via email regarding this issue to request some additional information in order to better assist with troubleshooting. If you still need assistance with this, please let us know! If you haven't received our reply, please let us know via email at webservices@constantcontact.com, and reference case number 32402432.

 

Please have a look and let us know if you have any other questions!

 

Regards,


John B.
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.
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

Polls
How confident are you about the effectiveness of your current marketing strategy?

Top Choice: Not confident at all (72%)