• Resolved Vijay

    (@vijayabalaji5)


    Hi,

    When I paste my API key, I am getting the following error:

    Mailchimp returned the following error:
    Unauthorized. API Key Invalid. Your API key may be invalid, or you've attempted to access the wrong datacenter. Request: GET https://us8.api.mailchimp.com/3.0/?fields=account_id Response: 401 Unauthorized - {"type":"https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"API Key Invalid","status":401,"detail":"Your API key may be invalid, or you've attempted to access the wrong datacenter.","instance":"b5606d34-56d2-49da-864e-cc892354205b"}

    Screenshot – https://ibb.co/tMQZVnR

    Please help me resolving this issue.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey Vijay,

    Thanks for reaching out to us.

    As the error suggests your API key is incorrect. First, make sure you are using the latest version of our plugin.

    Then try creating new API keys and test again.

    Receiving the same error:

    Mailchimp returned the following error:
    Unauthorized. API Key Invalid. Your API key may be invalid, or you’ve attempted to access the wrong datacenter. Request: GET https://us19.api.mailchimp.com/3.0/?fields=account_id Response: 401 Unauthorized – {“type”:”https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/”,”title”:”API Key Invalid”,”status”:401,”detail”:”Your API key may be invalid, or you’ve attempted to access the wrong datacenter.”,”instance”:”187c69cf-9933-4db2-a2db-5c1c233adc46″}

    Created new API Key and same issue.

    I’m getting the same response. I’ve created new keys, I’ve tried incognito window, I’ve cleared my history and closed all other windows and I still am getting this error.

    Mailchimp returned the following error:
    Unauthorized. API Key Invalid. Your API key may be invalid, or you’ve attempted to access the wrong datacenter. Request: GET https://us18.api.mailchimp.com/3.0/?fields=account_id Response: 401 Unauthorized – {“type”:”https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/”,”title”:”API Key Invalid”,”status”:401,”detail”:”Your API key may be invalid, or you’ve attempted to access the wrong datacenter.”,”instance”:”1fda1c26-5bf0-4465-b06e-00bf2162****}

    Is there a fix for this?

    • This reply was modified 4 years, 10 months ago by thesavvyweb.
    Plugin Contributor Lap

    (@lapzor)

    Maybe MailChimp just blocked a number of accounts from using the API.
    I did some tests in the latest versions of MailChimp for WordPress and could not reproduce any such issue myself so I really do think it’s related to the API key / MailChimp account.

    If you want you can contact us on support @ mc4wp.com if you have this issue so we can do some further testing on your WordPress installation.

    Kind regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mailchimp returned the following API error’ is closed to new replies.