Cloudflare Workers Error 1101 and 1102
Quick answer
Error 1101 means your Worker threw an uncaught exception; 1102 means it exceeded its CPU limit. Use wrangler tail and Workers Logs to find the failing code.
Most likely fix: Find the exception
How to fix it
Try these in order — the most common fix is first.
1. Find the exception
- Run npx wrangler tail
- Enable Workers Logs and filter on $workers.outcome = exception
- Enable source maps for readable stack traces
Did this fix it?2. Fix never-settling responses
- Ensure every promise resolves or rejects and close server-side WebSockets
Did this fix it?3. Reduce CPU time (1102)
- Check Worker Errors > Exceeded CPU Time Limits in Workers Metrics
- Move heavy work out of the request path
Did this fix it?4. Related errors
- 1019: a Worker called itself over 16 times, remove the recursion
- 1042: use a service binding or the global_fetch_strictly_public flag
Did this fix it?
Symptoms
The Worker URL shows 'Error 1101 Worker threw exception' or 'Error 1102 Worker exceeded resource limits'.
Why it happens
- Uncaught exception in the Worker
- Promise never resolves or WebSocket never closed
- CPU time limit exceeded
- Related: 1019 loop limit, 1042 same-zone fetch
This guide also covers
- cloudflare worker error 1101
- cloudflare workers error 1102
- worker threw exception
Still not working?
If Cloudflare keeps failing, you're not alone. See every Cloudflare problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usOther Cloudflare errors
- Cloudflare Error 521: Web Server Is Down
- Cloudflare Error 522: Connection Timed Out
- Cloudflare Error 524: A Timeout Occurred
- Cloudflare Error 525: SSL Handshake Failed
- Cloudflare Error 526: Invalid SSL Certificate
- Cloudflare Error 520: Web Server Returned an Unknown Error
- Cloudflare Error 1020: Access Denied
- Cloudflare Error 1015: You Are Being Rate Limited