You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.
I see the \Ctct\Auth\CtctOAuth2 class and so I instantiated that and called getTokenInfo();
However, it is returning an exception with code 400 and the errors: Bad Request and invalid_token. I know the token is valid because I have been using it in the API Tester at https://constantcontact.mashery.com and I am also able to use it in other endpoints like grabbing the account's contact lists.
I'm thinking this could be a problem with this php-sdk instead of the API itself since it is returning code 400 which is not a documented error. There could be a problem with how the request is made?
I'm trying to get token information through this endpoint:
https://developer.constantcontact.com/docs/authentication/access-token-info.html
I see the \Ctct\Auth\CtctOAuth2 class and so I instantiated that and called getTokenInfo();
However, it is returning an exception with code 400 and the errors: Bad Request and invalid_token. I know the token is valid because I have been using it in the API Tester at https://constantcontact.mashery.com and I am also able to use it in other endpoints like grabbing the account's contact lists.
I'm thinking this could be a problem with this php-sdk instead of the API itself since it is returning code 400 which is not a documented error. There could be a problem with how the request is made?
Here is my actual code:
The text was updated successfully, but these errors were encountered: