I want to submit email from my site to my constant contact account.
I am using OAuth 2.0 to implement it. https://github.com/constantcontact/php-sdk
I have created API Key & Token from http://community.constantcontact.com/t5/Documentation/API-Keys/ba-p/25015
using same credentials of my account of https://ui.constantcontact.com.
When I am submitting email from my site it gives me bellow error.
 => Array
[error_key] => mashery.not.authorized.inactive
[error_message] => The Mashery account associated with this request is not active, or an invalid API key was used.
I am not sure about .
1) do I need to create different account at https://constantcontact.mashery.com/login/ ?
2) Why my same account credentials of https://ui.constantcontact.com not working with https://constantcontact.mashery.com.
looks like I need to use option 1 ) API key and a Constant Contact access token.
Is same library (https://github.com/constantcontact/php-sdk) I have to use or different?
You're trying to use a V1 API Key with a V2 library. You need to follow steps 1-3 on this page to create a mashery (V2) API Key and plug it into your downloaded sdk. Sorry for the confusion.
API Support Specialist