For several days my CC v3 API calls were working both in Postman and in my R Script. Yesterday the calls started failing. I am successfully retrieving the OAUTH token, but after passing it to the final GET call, I am getting the response below. Any assistance would be appreciated.
I'm getting the same thing.
Even when I go to the API Reference and connect via oAuth (https://v3.developer.constantcontact.com/api_reference/index.html#!/Contacts/getContacts)
I still get the same unauthorized 401
Anyone know what would cause this to happen?
I'm also getting a 401 immediately after a successful token refresh. I've been using the API with no issues for several months but all of a sudden, 401 errors. This started yesterday at 12:09 PM.
I can refresh as many times as I want, but no matter what tokens I get back, I get a 401 response.
I was just about to create a post about this.
We have been using the v3 API since some weeks ago and all of sudden it stopped working.
We have investigating our code and came to the conclusion the issue is in the API side.
We can successfully make the authorization code request and receive the code.
Then we are able to exchange the code for an access token.
We are also able to use the refresh token in order to get a new access/refresh token.
The problem is that when we use the access_token to perform API requests, like:
curl -X GET \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer INSERT_SOME_VALID_RECENT_ACCESS_TOKEN_HERE' \
-H 'Cache-Control: no-cache' \
-H 'Accept: application/json'
We always get the response:
Sorry for the delayed response. As I'm sure you are already aware this issue has been resolved. We had a temporary issue with some certificates and they have been updated. Please let us know if you still see this problem.
The issue in the original post was due to a temporary system issue. I'm not aware of a repeat of that issue. Are you still having this problem? During the previous issue we were able to replicate using our API Tester page at https://v3.developer.constantcontact.com/api_reference/index.html#!/Contacts/getContacts
If you are still having the issue, do you also see it using this API Reference tester?
Please have a look and let me know if you have any questions!
Tier II API Support Engineer
I can confirm seeing the same error/issue. We have OAuth Server Flow implemented - can receive code from our app, replace access and refresh tokens too.
When we make go to execute a curl request in our code, we see this same error on screen.
Any suggestions would be helpful.