CTCTWrapper_Contact returns Invalid Redirect after Allow Access

SOLVED
Go to solution
Member

CTCTWrapper_Contact returns Invalid Redirect after Allow Access

I am trying to run the sample code CTCTWrapper_Contact in Visual Studio 2013. I keep getting an "Invalid Redirect" after I click the "Allow" on the "Allow Access" page. How can I get past this error?  My API key works fine with the Tester/Debugger page.

 

Tony

1 ACCEPTED SOLUTION
Member

Hi Tony,

 

If you are receiving this error, the most likely cause is that the Redirect URI provided in the app.config for your .NET application does not match the Redirect URI that you used when you created your API key. If you do not remember what you set the REdirect URI as, you can review it by managing your application in Mashery here: https://constantcontact.mashery.com/apps/myapps

 

Once you've got a matching Redirect URI in your code and in Mashery, that should resolve your issue!

 

Best Regards,

Elijah G.
API Support Engineer

View solution in original post

1 REPLY 1
Member

Hi Tony,

 

If you are receiving this error, the most likely cause is that the Redirect URI provided in the app.config for your .NET application does not match the Redirect URI that you used when you created your API key. If you do not remember what you set the REdirect URI as, you can review it by managing your application in Mashery here: https://constantcontact.mashery.com/apps/myapps

 

Once you've got a matching Redirect URI in your code and in Mashery, that should resolve your issue!

 

Best Regards,

Elijah G.
API Support Engineer

View solution in original post

Developer Portal

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

Visit Page