scheduled and fetch run the same function, getIncidents, which makes a fetch call to the API. exact same code works in one way, not the othercurl -i https://api-dev.hhc.workers.dev/ --header 'Content-Length: 0'workers.dev domain only, not custom domainContent-Length: 0 header set/ after you create the integration. Editing it afterwards works fine.<title>Worker threw exception | bfstats.ragnarok.workers.dev | Cloudflare </title> HTML page back. Hitting my custom domain works as usual though

Cache-Control: public, max-age=0, must-revalidate.


scheduledgetIncidentscurl -i https://api-dev.hhc.workers.dev/ --header 'Content-Length: 0'workers.devContent-Length: 0/<title>Worker threw exception | bfstats.ragnarok.workers.dev | Cloudflare </title>Cache-Control: public, max-age=0, must-revalidate