python-mailchimp: Problem with client.lists.members.create
Hi all! I have a question: I need to create a list in mail chimp using your client application. I’m running
client.lists.members.create('b51741db19', {
'email_address': 'john.doe@example.com',
'status': 'subscribed',
'merge_fields': {
'FNAME': 'John',
'LNAME': 'Doe',
},
})
but it gives me errors such as requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://us16.api.mailchimp.com/3.0/lists/b51741db19/members
Do I have to implement a sort of authentication? Thanks
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (1 by maintainers)
I had the same problem today with
client.lists.members.create
and investigated the content of the 400 response:With a less obviously fake email address (john@mysite.com), it worked fine.