Are you as frustrated as I was when I couldn’t get MailChimp to connect to my clients WordPress website? And of course, the client doesn’t realise it’s not something you have done wrong. It’s just one of those weird, unforgiving website dramas that must be resolved by process of elimination.
MailChimp – Authorization failed!!!
This is the message I kept getting when trying to connect MailChimp to my WordPress plugin. I used the Divi Mailchimp plugin called Bloom. But you could also use any other MailChimp WordPress plugin. The same connection process applies and the same damn error message pops up!
So this is what I did to figure out what the heck was going on!
The first thing to do is
- Deactivate all plugins. Then test.
- This is important because sometimes it can be a conflict with another plugin.
- Even try activating a default WordPress theme. To make sure its nothing to do with the theme.
- Secondly, make sure WordPress, the plugins and your theme are up to date!
- Make a backup first before doing any of this.
If all else fails then keep reading on
- Go to MailChimp and check the API is correct.
How do you get the MailChimp API key?
- To get the API key.
- Login to MailChimp.
- Go to your Profile in MailChimp.
- Click on Extras
- Then API keys – see image below.
- Scroll down to see if there are any API keys set up.
- If not click – Create a Key
- If you already have one – make sure the status is on (it should be green) – see image below.
- Copy the API key.
- Go back to your WordPress site.
- Navigate to the MailChimp plugin you have installed.
- Paste the key where it is supposed to go.
- Click save, connect or re-authorize.
The MailChimp connection error message
- Authorization failed!!!
- This is the error message that came up for me, time and time again. ARGGHH was so frustrating!
- Hence, more troubleshooting to do!
The next thing I did
- I checked I had the correct account name from MailChimp in the plugin’s settings.
- Now to find out what your account name is.
- Go back to MailChimp and go to your account.
- You will see your account name in this section.
- My account is “Let’s Build a Website” – see image below.
- Now go back to your WordPress site.
- And check the account name is correct.
- If both the API and Account name are correct.
- And you have tried to connect and it still says “Authorisation failed!”
- Then continue to the next step.
Try your host
- Ask your hosting company to check the firewall isn’t preventing the connection.
- Sometimes firewalls can block MailChimp.
- Another thing I checked on the hosting side of things. Was that the PHP level was also up to date.
- If you don’t know how to do this. Just ask your hosting support team to help.
(I know it seems a bit technical. But believe me, sometimes weird things like this are the issue).
You can send them an email with the following:
“I am currently trying to connect MailChimp to my site which relies on the PHP CURL module.”
Can you please confirm that:
- My PHP version is the latest for my site.
- PHP CURL is installed and updated to the least version – 7.35.
- Requests to https://*.api.mailchimp.com/ are not blocked.
If they come back as everything is ok. And you test MailChimp again and it still comes up with the same error. Then go to the next and final step.
The final step in the elimination process
This was a light bulb moment for me! Which took me hours to finally work it out.
- I cleared my browser cache – and the damn thing worked!
- MailChimp connected successfully.
To sum up
I couldn’t believe it! After all that time and effort. It was as simple as that! The crazy world of web design had fooled me again! So I hope it doesn’t end up being like this for you. I hope you get the connection after some of the first steps.
Anyway, I hope this tutorial helps you sort out Mailchimp connection issue.
If you still can’t work it out. Contact us for WordPress support. And we can certainly help!
Written By Jodi Allbon 2019.
Web Designer/Trainer – Adv Dip, Dip, TAE
Jodi is a qualified WordPress Trainer and Designer with an Advanced Diploma in Digital Media (2D And 3D Animation, Web Development) and a Diploma in Web Development. She has been a Website Trainer at the Northern Beaches Community College since 2008 and a WordPress Tutor for NSW TAFE since 2016.
Jodi has developed several web design courses including, a WordPress Beginners Course and Build your own WordPress Website for small businesses. These courses will teach you how to update and manage your website ongoing. Giving website owners more control over their website, thus helping to keep costs down.
View Jodi’s credentials here.