If you run into trouble, here's the list of global errors for the Mailchimp API. To learn more about how they work, refer to the Errors section in Getting Started with the Mailchimp API.
Your request could not be processed.
This is a generic error.
The action requested was not valid for this resource.
This error is returned when you try to access an action that doesn't exist. For example,
The resource submitted could not be validated.
For field-specific details, see
field_errors objects. This error means that the object submitted to a POST or PATCH request failed to validate against JSON schema, and could relate to campaign, interest group, merge field, or any other available object.
We encountered an unspecified JSON parsing error.
This error means that your JSON was formatted incorrectly or was considered invalid or incomplete.
Your request did not include an API key.
This error suggests that your API key was missing from your request, or that something was formatted or named improperly in your header. To learn more, check out Get Started with the Mailchimp API.
Your API key may be invalid, or you've attempted to access the wrong data center.
Check that your API key was input correctly, and verify which data center to access. To learn more, check out the Authentication section in Getting Started with the Mailchimp API.
You are not permitted to access this resource.
This is a generic error.
This account has been disabled.
The Mailchimp account is deactivated. Contact our support team if you need more help.
The API key provided is linked to a different data center.
This error suggests that you tried to contact the wrong data center. It's often associated with misconfigured libraries.
The requested resource could not be found.
This error tells you a specific resource doesn't exist. It's possible that the resource has been moved or deleted, or that there's a typo in your request.
The requested method and resource are not compatible. See the Allow header for this resource's available methods.
This error means that the requested resource does not support the HTTP method you used. Find out which methods are allowed for each resource in the API Reference.
The sub-resource requested is nested too deeply.
This uncommon error appears if you've tried to generate a URL with too many resources.
You can only use the X-HTTP-Method-Override header with the POST method.
This error lets you know you've tried to override an incompatible method. The Mailchimp API only permits method override with POST.
The fields requested from this resource are invalid.
This error suggests there is a typo in your field request or some other type of syntax error or problem that invalidates your request.
You have exceeded the limit of 10 simultaneous connections.
When you reach the connection limit, we'll throttle server response. If any of your requests time out after you've reached the limit, those requests could still be considered open and continue to slow your connection. Contact the Mailchimp API support team at firstname.lastname@example.org if you think this is the case.
An unexpected internal error has occurred. Please contact Support for more information.
This error lets you know our servers have experienced a problem. Although this is rare, please contact email@example.com to let us know that you've encountered this error.
This method has been disabled.
You will see this error when your account is under compliance review.