I am getting the following error when trying to dump out a list of list_ids to the screen:
Mailchimp_HttpError
API call to lists/list failed: Could not resolve host: key-here.api.mailchimp.com
Code that throws error:
if(curl_error($ch)) {
throw new Mailchimp_HttpError("API call to $url failed: " . curl_error($ch));
}
My API key is configured correctly as per instructions and I have no idea how to resolve. I have searched through all the code and cannot find the URL "key-here.api.mailchimp.com" anywhere
I have even tried regenerating a new API key in case that was the problem.
I am getting the following error when trying to dump out a list of list_ids to the screen:
Mailchimp_HttpError API call to lists/list failed: Could not resolve host: key-here.api.mailchimp.com
Code that throws error: if(curl_error($ch)) { throw new Mailchimp_HttpError("API call to $url failed: " . curl_error($ch)); }
My API key is configured correctly as per instructions and I have no idea how to resolve. I have searched through all the code and cannot find the URL "key-here.api.mailchimp.com" anywhere
I have even tried regenerating a new API key in case that was the problem.
Have you ever seen this type of error?
Thanks!