I am working on my newsletter project using Mailchimp API, it works but I can’t redirect to a failure page if the status code is not 200, the browser says localhost refused to connect meanwhile success page redirection works great. here’s my code: Answer First of all using async with express is tricky, if anything in your async function throws
Tag: mailchimp-api-v3.0
MailChimp: Why is PUT method with javascript returning “Use PUT to insert or update list members”
I’m trying to update one of my subscriber’s status using mailchimp API 3.0, Meteor and javascript. Here is my js code I’m using: with and But I always have the same output: I20181204-18:42:12.714(8)? title: ‘Member Exists’, I20181204-18:42:12.714(8)? status: 400, I20181204-18:42:12.714(8)? detail: ‘(user mail adress) is already a list member. Use PUT to insert or update list members.’ But I am