Fly instance can't resolve mailchimp API URL

My application is trying to make a request to but I’m getting a connection error:

Create audiencer error: HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: /3.0/lists (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa00670ca90>: Failed to establish a new connection: [Errno -2] Name does not resolve'))

should I configure anything related to the outbound on my machine?
Any help is very appreciated

Thanks guys!

Are you sure that URL is configured correctly?
Doesn’t appear to appear to exist

That’s weird :thinking:
I’m using the official library for python and running it locally works

import mailchimp_marketing as MailchimpMarketing

mailchimp = MailchimpMarketing.Client()
response = mailchimp.lists.create_list(body)

checking and the default DNS on the library is the same one


It’s totally my bad…
debugging the library, I found out that the server that starts the URL is then replaced by the correct server that is passed by parameter to the API configuration

so, in the end, the lib creates

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.