Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MailChimp ajax post returns "Recipient has too many recent sign up requests"

I am trying to make an ajax call that adds a new subscriber to my MailChimp list. I tried the solution on this thread Mailchimp subscribe using jQuery AJAX?

 $.ajax({
    url: 'http://xxxxx.us#.list-manage.com/subscribe/post-json??u=xxxxx&id=xxxx&c=?',
    type: 'GET',
    data: data,
    dataType: 'jsonp',
    contentType: "application/json; charset=utf-8",
    success: function (data) {
       if (data['result'] != "success") {
            //ERROR
            console.log(data['msg']);
       } else {
           console.log('Hooray');
       }
    }
});

However I am getting an error that says

Recipient has too many recent sign up request

I noticed that whenever I add post to the sign-up URL the error appears Even when opening the sign-up form URL from the browser

like image 364
HebatAllah Eldawi Avatar asked Sep 19 '25 02:09

HebatAllah Eldawi


1 Answers

Make sure the email field being sent is all caps, so your data object might look like:

var data = { email: "[email protected]" }

When, it should be:

var data = { EMAIL: "[email protected]" }
like image 104
Chris Avatar answered Sep 21 '25 06:09

Chris