Skip to content

Commit 5523256

Browse files
ngayeriepedrosousa
andauthored
[Rules] Convert Snippets errors page into troubleshooting (#20911)
--------- Co-authored-by: Pedro Sousa <[email protected]>
1 parent c75ed33 commit 5523256

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/content/docs/rules/snippets/errors.mdx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
title: Common errors
2+
title: Snippets troubleshooting
33
pcx_content_type: troubleshooting
44
sidebar:
55
order: 8
6+
label: Troubleshooting
67
head:
78
- tag: title
8-
content: Common errors
9+
content: Snippets troubleshooting
910
---
1011

1112
import { GlossaryTooltip } from "~/components";
1213

13-
Cloudflare Snippets may encounter specific errors during execution. Here are the common errors:
1414

1515
## Error 1201: Snippet tried to continue to origin multiple times
1616

@@ -27,3 +27,11 @@ This error occurs when the number of <GlossaryTooltip term="Snippets subrequest"
2727
### Resolution
2828

2929
Review your Snippet to ensure your code is within the <GlossaryTooltip term="Snippets subrequest" prepend="A subrequest is ">subrequest</GlossaryTooltip> [limits](/rules/snippets/#availability) for your plan. Each subrequest counts against your limit, including any redirects within a subrequest chain.
30+
31+
## Snippets cannot be renamed
32+
33+
The name you define when creating a Snippet will be used as the Snippet ID and cannot be edited afterwards.
34+
35+
### Resolution
36+
37+
To change the name of your Snippet, create a new Snippet and delete the old one.

0 commit comments

Comments
 (0)