Posted: November 29, 2018 at 11:49 am
Hi, |
|
Hi, You’ll actually need to get an API key from MailChimp. Here’s their documentation for where to find that API key: https://mailchimp.com/help/about-api-keys/#Find_or_Generate_Your_API_Key |
|
Hi. I already have created an API. It keeps saying invalid when I paste it in. Not sure why. |
|
So to be clear, you’ve created and obtained an API key from your MailChimp account? The reason I ask is because this support topic started with:
So if the API key came from WordPress, you’ll need to get a key from MailChimp. If the API key came from MailChimp, then it may be the web server has the cURL module disabled. The MailChimp add-on requires the cURL module. You could check with your web host to see if the cURL module is enabled. Or if you want to find that information yourself, you can install the WordPress Health Check plugin, then go to the site’s Dashboard > Health Check > PHP Information then locate the section “curl” and there will be a row that has “cURL support” followed by either “disabled” or “enabled”. |
|
Sorry that is a typo. I have a mail chimp account. I’ve created an API. I pasted the API code into event expresso. It says invalid API when I save it. |
|
I just checked and it says curl enabled |
|
Could you try a different API key? |
|
I’ve tried three and all say invalid. I don’t understand it as I’ve used them before with the site before I had event expresso installed. |
|
May I ask are there any other MailChimp plugins activated on the site at the moment? |
|
Not a plugin but Optforms is using Mailchimp but as a form action URL |
|
You mentioned there were prior uses of MailChimp API keys on that site. Are any of those available to try now? |
|
They are. I tried that one and a new one and still get invalid |
|
If it helps solve the problem, I am unable to update the event expresso plugin. I get a Update Failed: Download failed. cURL error 7: |
|
Curl error 7 means the server has some firewall or restriction issues. Can you contact your web host and share this information with them? You can even copy & paste the following message if that helps: I am currently installing code on my site which relies on the PHP CURL module. Can you please confirm the following things? – PHP CURL is updated to at least version 7.35 Thanks in advance! |
|
Here is the response… |
|
Maybe they can check the access logs for when you tried to connect with the MailChimp API, and when you tried to update the EE plugin? |
|
For some reason it all started working. No idea why, but I’ll take it. Thanks for your help! |
|
The support post ‘Mailchimp Add on not accepting API’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.