The issue you’re facing might be related to a conflict between Cloudflare’s Proxy settings and your API calls. Cloudflare acts as a reverse proxy and sometimes it can interfere with API calls, especially when HTTPS is involved. To resolve this, you can follow these steps:
Go to your Cloudflare Dashboard.
Navigate to the DNS settings.
Find the “dev” subdomain that you’re having problems with.
Switch the Proxy status from “Proxied” to “DNS only”.
Remember this will expose your server’s IP address. If the issue persists, please inspect the error message from the API call for a more specific problem.