. 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

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