Troubleshoot Snippets
This error occurs when a Snippet attempts to call fetch(request) more than once.
Ensure that your Snippet code only calls fetch(request) once. This method is used to send the modified request to the origin server, and it should be called only once per Snippet to avoid conflicts.
This error occurs when the number of subrequests exceeds the limit for your Cloudflare plan.
Review your Snippet to ensure your code is within the subrequest limits for your plan. Each subrequest counts against your limit, including any redirects within a subrequest chain.
This error occurs when a Snippet exceeds the defined CPU time limit for Snippets.
Review your Snippet to ensure your code is within the CPU time limit. If you need a higher CPU time limit, consider using Cloudflare Workers. Refer to When to use Snippets vs Workers for details.
This error occurs when a Snippet exceeds the defined memory limit for Snippets.
Review your Snippet to ensure your code is within the memory limit. If you need a higher memory limit, consider using Cloudflare Workers. Refer to When to use Snippets vs Workers for details.
A new Snippet was just deployed and is currently propagating across Cloudflare's global network. During this short window, requests may not be processed as expected.
This is a temporary issue. Retry your request after a few seconds — the Snippet will be active once propagation completes.
The Snippet encountered an unhandled JavaScript exception during execution. This may be caused by one of the following:
- Runtime JavaScript errors in Snippet code
- Unhandled promise rejections
- Type errors or reference errors
- Review the Snippet code to identify where the exception might have occurred and fix any detected bugs.
- Add proper error handling (try/catch blocks).
The name you define when creating a Snippet will be used as the Snippet ID and cannot be edited afterwards.
To change the name of your Snippet, create a new Snippet and delete the old one.
Snippets share some error codes with Workers, namely errors in the 11xx range. For more information on these errors, refer to Errors and exceptions.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2026 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark
-