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

Recipient "" has too many recent signup requests #33

Open
ScottAgirs opened this issue Apr 28, 2019 · 4 comments
Open

Recipient "" has too many recent signup requests #33

ScottAgirs opened this issue Apr 28, 2019 · 4 comments

Comments

@ScottAgirs
Copy link

ScottAgirs commented Apr 28, 2019

Trying to use with Formik, with the code:

const url =
  'https://twosquarepixels.us20.list-manage.com/subscribe/post?u=69f211e10523fc65810fe216a&id=cb44006301';

..

  <MailchimpSubscribe
            url={url}
            render={({ subscribe, status, message }) => (
               <Formik
                  onSubmit={values => {
                    console.log({ values }); // values: { email: "my@email.com" }
                    subscribe(values);
                  }}
                  initialValues={{ email: '' }}
                  render={() => {
                    return (
                      <Form id="mc-form">
                        <InputField>
                          <Field
                            name="email"
                            type="email"
                            className="control"
                            placeholder="Enter your email"
                            required="required"
                            id="mc-email"
                          />
                        </InputField>

                        <button type="submit">
                            Subscribe
                        </button>
                        <label className="mt10" htmlFor="mc-email" />
                      </Form>
                    );
                  }}
                />
               )}
          />

Getting this error:

Recipient "" has too many recent signup requests
@dijs
Copy link

dijs commented May 21, 2019

Did you figure this issue out? I am having the exact same one.

@ScottAgirs
Copy link
Author

ScottAgirs commented May 24, 2019

Did you figure this issue out? I am having the exact same one.

I did. Check all of your required fields on your Mailchimp dashboard, ensure there are no fields that you are requiring on Mailchimp, but not passing from your app's component.

In my case, I had a custom field (CustomField) which I added in past and forgot about.

The error was not very specific, but when decrypted - the error essentially was saying that I am passing a field with an empty value. Since the field CustomField was not present in my form Mailchimp interpreted the value of CustomField to be "", and complained.

Edit:

Sorry, this is actually for another, similar error.

The error that I originally asked about here, was also due to a value not being passed - still the solution should be the same - check the fields and ensure you are passing required fields and that values are actually being passed.

@dijs
Copy link

dijs commented May 27, 2019

I had a few different issues. But I think the one which caused this specific error was sending email and not the uppercased EMAIL property.

Mailchimp needs to work on their error messages.

@lukebrandonfarrell
Copy link

@dijs solution works, we can close this issue?

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