VingtCinq / python-mailchimp

Python client for v3 of MailChimp API
MIT License
463 stars 131 forks source link

API key issue #206

Closed andsimakov closed 5 years ago

andsimakov commented 5 years ago

~I upgraded the library from 2.0.8 to 3.0.7 and swapped mc_api and mc_user arguments in client initialization:~

~mailchimp_client = MailChimp(mc_api=settings.MAILCHIMP_API_KEY, mc_user=settings.MAILCHIMP_USERNAME).~

~I got the error after all:~

~raise ValueError('The API key that you have entered is not valid, did you enter a username by mistake?'~ ~ValueError: The API key that you have entered is not valid, did you enter a username by mistake?~ ~The order of arguments for API key and username has reversed in 2.1.0~

UPD: Sorry, my local fault. Closed.