How-To

Invalid API key. in Grow with MailerLite: how to fix it

Grow's "Invalid API key." message when connecting MailerLite often means the key belongs to a different MailerLite version than your account runs. Classic and new MailerLite use separate keys. Generate a fresh key in the version you log into, paste it without spaces, and test it with one API call.

Sohail HussainSohail Hussain7 min read

Short answer

  • Grow shows this error when it cannot validate the MailerLite key you gave it. The most likely cause is a key from the wrong MailerLite version (Classic vs new), but no source confirms the fix.
  • Confirm which MailerLite version you are logged into, create a fresh key there, paste it into Grow with no extra characters, and reconnect. If that fails, contact Grow support with the exact error text.

You paste your MailerLite key into Grow, click save, and get this:

Invalid API key.

One caveat before the steps. A post in Grow's community help center reports this error (last seen in September 2025), but it does not show a confirmed resolution. The root cause is unconfirmed. A related note suggests using a key from the new MailerLite rather than MailerLite Classic, so that is the first thing to check, but treat it as a lead, not a proven answer.

Why Grow shows "Invalid API key."

I can't see Grow's code, and I have no Grow documentation that explains this message. What the wording suggests is that the key was not accepted when you saved it. Beyond that, the exact cause is unknown. These are the realistic candidates, most likely first:

  1. Key from the wrong MailerLite version. MailerLite has two products, MailerLite Classic and the newer MailerLite. Their API credentials are separate, so a key from one may not work where the other is expected. This is the lead from the community report, not a confirmed cause.
  2. The key text changed on paste. A stray space, a truncated key or an autofill swap is easy to miss.
  3. The key was deleted or replaced. If someone on your team removed the key in MailerLite, anything using it stops working.
  4. Something on Grow's side. If a correct, active key is still rejected, Grow support is the only party who can say what their integration expects.
CauseSymptomFix
Key from the other MailerLite versionKey looks fine, still rejectedCreate a key in the version you actually use
Altered on pasteKey looks short or paddedPaste into a text editor, check, recopy
Deleted or replacedKey worked before, now failsCreate a new key and reconnect
Grow-side issueValid, active key rejectedContact Grow support

Step-by-step fixes

Fix 1: match the key to your MailerLite version

  1. Log into MailerLite and work out whether your account is MailerLite Classic or the new MailerLite. MailerLite's help center has articles on the differences between the two; search it for "MailerLite Classic".
  2. In your MailerLite account, find the API or developer settings. I could not confirm the exact menu path for either version, and MailerLite has moved settings before, so search MailerLite's help center for "API key" or "API token" and follow the current instructions for your version.
  3. Create a new key or token and copy it right away. Some systems show a token in full only once.
  4. In Grow, remove the failed MailerLite connection, then add it again with the fresh key.

If you migrated from Classic at some point, you may have both a Classic and a new account. Make sure the key comes from the account you intend to connect.

Tip

If MailerLite lets you name the key, call it something like "Grow connection" so nobody deletes it later as clutter.

Fix 2: rule out a paste error

  1. Paste the key into a plain text editor first.
  2. Look for a leading or trailing space or line break picked up while selecting.
  3. Check that the key is complete. A double-click selection can stop at a punctuation character and cut the key short.
  4. Copy it again from the editor and paste it into Grow.
  5. If your browser or password manager autofills that field, clear the field and paste manually.

Fix 3: confirm the key still exists

  1. Open the API or developer settings in MailerLite, using the route from Fix 1.
  2. Check that the key you used is still listed.
  3. If it is missing, create a new one and reconnect in Grow.

Optional: test the key outside Grow

A direct call to MailerLite would show whether the key itself works, which separates a bad key from a Grow-side problem. I am not giving endpoint URLs or headers here because I could not check them against MailerLite's official API documentation in this rewrite, and the two versions differ. Use the API documentation on MailerLite's developer site for your version, make one simple read request with the key, and note the HTTP status. A success response means the key is valid for that version; an authentication error means MailerLite did not accept it.

Warning

Never paste a live key into a public forum, chat or support ticket. If you already did, delete it in MailerLite and create a new one.

Checklist before you try again

  • The key was created in the same MailerLite version you log into.
  • The key came from the account you want to connect.
  • The key is still listed in your MailerLite account and has not been deleted.
  • The pasted value has no leading or trailing space and is not cut short.
  • The old failed connection in Grow was removed before you added the new one.

If nothing works

If a fresh key from the right account is still rejected, contact Grow support first, since the error comes from their screen. If you tested the key directly and MailerLite rejected it, contact MailerLite support; they can see whether the key exists on your account.

Include:

  • The exact message, Invalid API key.
  • Which MailerLite version you use (Classic or new).
  • The date and time of the attempt, with your time zone.
  • The result of any direct API test (status code only, never the key).
  • What you already tried.
Hello,

When I connect MailerLite to Grow, I get the error "Invalid API key."

- MailerLite version: {Classic or new MailerLite}
- Attempt time: {date, time, time zone}
- Direct API test with the same key (if done): HTTP {status}
- Already tried: created a new key, pasted it through a plain text
  editor, removed and re-added the connection

Which MailerLite version and key type does the Grow integration expect,
and can you see why the key is being rejected?

Thank you.

Common questions

Can I use my old MailerLite Classic key with Grow?

I can't confirm what Grow supports. The community report points toward using a key from the new MailerLite, so try that first, and ask Grow support if it still fails.

Does the error mean my key is definitely wrong?

Not necessarily. The message only says the key was not accepted. The key could be wrong, from the other MailerLite version, or the cause could be on Grow's side.

Will creating a new key break other integrations?

Creating an additional key should not affect existing ones, but deleting or replacing a key will break anything that uses it. Check MailerLite's help center for how it handles regenerating a key before you replace one that other tools depend on.

Has this been fixed since the report?

I don't know. The community post was last seen in September 2025, and I could not verify whether Grow has changed anything since. Ask Grow support for the current status.

technicalmailerlite-growerror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

Building Mailneo — AI-powered email marketing for growing businesses.

Related Articles

How-To

ActiveCampaign n8n error 301 on create contact: causes and fixes

A 301 from the ActiveCampaign node means the request went to a URL that redirects, so start with the API URL in your n8n credential. Copy it from Settings, then Developer, and check the scheme and path. Zapier 403 and cURL error 28 behind Cloudflare have different causes, covered below.

Sohail Hussain|9 min read
How-To

"Stage not on allowlist": Apollo to HubSpot sync fix

The error "Stage not on allowlist" means the contact's Apollo stage is not on the list of stages permitted to push to HubSpot. Open the HubSpot integration in Apollo, go to the Sync tab, and add that stage under "Stages for push contacts". Lifecycle stage mapping is a separate setting.

Sohail Hussain|7 min read
How-To

Salesmate "Authorization with Gmail failed": Gmail IMAP fix

Salesmate shows "Authorization with Gmail failed" when it can't read your Gmail account over IMAP. In Gmail settings, enable IMAP, choose "Do not limit the number of messages in an IMAP folder", and show All Mail in IMAP. Then reconnect the account in Salesmate. Other causes are covered below.

Sohail Hussain|8 min read
How-To

AWeber export "Stop Status" and "Stop Time" columns explained

In an AWeber subscriber export, a non-empty Stop Time and a non-zero Stop Status most likely mean the person has stopped receiving your mail, usually because they unsubscribed. AWeber doesn't explain the columns in the file, so verify against a few known unsubscribes, then import those rows as blocked, not subscribed.

Sohail Hussain|7 min read

Ready to supercharge your email marketing?

Start sending smarter emails with AI-powered campaigns. No credit card required.

Get Started Free