ra
CDCloudflare Developers
•Created by ra on 8/6/2024 in #workers-help
Cloudflare Worker for API endpoint returning Cloudflare error page
9 replies
CDCloudflare Developers
•Created by ra on 4/6/2023 in #workers-help
Workers_Trace_events and Logpush via HTTP
Following the docs, I'm using the following command to enable logpush:
When executing the following command, I'm getting the following error:
{"errors":[{"code":1002,"message":"error parsing input: invalid JSON syntax"}],"messages":[],"result":null,"success":false}
It doesn't appear to be anything wrong with my input (chat gpt agrees 😆 )27 replies
CDCloudflare Developers
•Created by ra on 2/1/2023 in #workers-help
Worker Logs not showing up via tail or in dashboard
My worker looks like the following:
The
console.log
statement is on the very first line of the fetch handler, and I'm not able to see logs via wrangler tail --env production
or in the dashboard.
Any ideas what could be going wrong here? I am able to view the logs with wrangler dev
but I am not able to view the logs at all in production.1 replies