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 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
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

View solution in original post

1 REPLY 1
Highlighted
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

View solution in original post

Developer Portal

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

Visit Page

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured