cancel
Showing results for 
Search instead for 
Did you mean: 

CTCTWrapper_Contact returns Invalid Redirect after Allow Access

SOLVED
Highlighted
Occasional Contributor

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 REPLY 1
Honored Contributor

Re: CTCTWrapper_Contact returns Invalid Redirect after Allow Access

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