. addHeader("Authorization","Basic { access_token}")

Highlighted
Occasional Contributor

. addHeader("Authorization","Basic { access_token}")

Prompt me this question. addHeader("Authorization","Basic { access_token}")

What is the reason, what should I do?

Tags (1)
3 REPLIES 3
Highlighted
Moderator

Re: . addHeader("Authorization","Basic { access_token}")

Hello,

 

Thank you for reaching out to Constant Contact API Developer Support.

 

Can you clarify what you're looking to accomplish? Our Authorization headers should be Bearer rather than Basic, and your access token is obtained during the OAuth flow.

 

Are you using our V2 or V3 API?

 

Regards,

 

David B.
Tier II API Support Engineer

Highlighted
Occasional Contributor

Re: . addHeader("Authorization","Basic { access_token}")

I am using v3

Highlighted
Moderator

Re: . addHeader("Authorization","Basic { access_token}")

Hello,

 

Where are you being prompted to do this?


Are you working in an app you are building, or are you using a 3rd party integration?

 

Regards,

 

David B.
Tier II API Support Engineer

Developer Portal

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

Visit Page

Product Updates: July 2020

Alongside introducing our new branding (check out that fresh new logo!), our teams were busy bringing you new updates to your Constant Contact account. Read on to find out what was new in your Constant Contact account during the month of July

Read More
Featured