Skip to content
Cloudflare Docs

Snippets troubleshooting

Error 1201: Snippet tried to continue to origin multiple times

Section titled “Error 1201: Snippet tried to continue to origin multiple times”

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.

Error 1202: Snippets exceeded subrequests limit

Section titled “Error 1202: Snippets exceeded subrequests limit”

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.

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.