External API call works in preview, but not when published

Hello,

In order for us to further investigate please share either the code of your editor url.