Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting 401 (Unauthorized) #2

Open
michelmany opened this issue Sep 4, 2018 · 2 comments
Open

Getting 401 (Unauthorized) #2

michelmany opened this issue Sep 4, 2018 · 2 comments

Comments

@michelmany
Copy link

Hi,
Thanks for the wrapper.

I'm getting 401 error when I try to add members.
Could you help me please?

I'm using this package with Vue.js.

screen shot 2018-09-04 at 19 52 02

Thank you!

@LotharVM
Copy link

Same question here.. Although it seems that Mailchimp isn't allowing any client-side requests anymore. Below message is from their API documentation:

MailChimp does not support client-side implementation of our API using CORS requests due to the potential security risk of exposing account API keys.

@felipecaparelli
Copy link

This is a common CORS error. It occurs when you try to execute your script in a different server (in your case localhost) through a different HTTP protocol (mailchip.com uses HTTPS for security). For example, I can execute the requests using this API inside a mobile device, but I can't execute it in a web browser like Chrome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants