Opt-in Add-on - cURL error: Could not resolve host: .api.mailchimp.com - Forum | JoomShaper
Staff replied SP Page Builder

Opt-in Add-on - cURL error: Could not resolve host: .api.mailchimp.com

Asked by Brad Thompson 3 years ago Last activity 2 years ago

I added a Opt-in into the footer of my Helix Ultimate Website, put the API and the list ID into the settings and have an error when submiting the form.

cURL error: Could not resolve host: .api.mailchimp.com

I've logged into the server and successfully pinged api.mailchimp.com

PHP is compiled with Curl and it's activated and available.

I ran a curl test and was able to connect:

[root@hosting ~]# curl --request GET \
> --url 'https://us18.api.mailchimp.com/3.0/' \
> --user 'MYUSER:86d6adfexxxxxxxxxxxx337bcee902-us18'

What it seems to me is that the request is not adding the datacenter to the URL reqeust.

In this case it's: us18

Also, I'm also assuming that the API key needs to be in the format as <userID>:<API>

Is this a design flaw in SP Page Builder that needs to be updated to work with Mailchimp?

3 replies

Toufiq Senior Staff

Hi there,

I appreciate you reaching out. I sincerely apologize for this oversight. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

-Thanks

Andrea Temporin

Same problem. no solution or bug fix?

Toufiq Senior Staff

Will you please provide me the Joomla administrator access to check the issue? Did you check latest version of Page Builder?

Toufiq Senior Staff

Please share this screenshot with your to your hosting provider.

Screenshot at Jan 02 18-09-36.png

Log in to reply.