Skip to content

Commit a76b50b

Browse files
authored
Update faq.mdx (#25884)
* Update faq.mdx add new FAQ on 422s * Update faq.mdx
1 parent 08996ab commit a76b50b

File tree

1 file changed

+13
-2
lines changed
  • src/content/docs/browser-rendering

1 file changed

+13
-2
lines changed

src/content/docs/browser-rendering/faq.mdx

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ There is no fixed limit on the number of requests per browser session. A single
5050

5151
## Errors & Troubleshooting
5252

53-
### I see `Cannot read properties of undefined (reading 'fetch')` when using Browser Rendering. How do I fix this?
53+
### `Cannot read properties of undefined (reading 'fetch')`
5454

5555
This error typically occurs because your Puppeteer launch is not receiving the Browser binding. To resolve: Pass your Browser binding into `puppeteer.launch`.
5656

@@ -83,8 +83,19 @@ Keep in mind that `page.evaluate` can only return primitive types like strings,
8383

8484
It may be because you increased the height and width of the viewport. To fix this, increase the value of the `deviceScaleFactor` (default is 1).
8585

86-
### I see `Error processing the request: Unable to create new browser: code: 429: message: Browser time limit exceeded for today`. How do I fix it?
86+
### `Error processing the request: Unable to create new browser: code: 429: message: Browser time limit exceeded for today`
8787

8888
This error indicates you have hit the daily browser-instance limit on the Workers Free plan. [Free-plan accounts are capped at free plan limit is 10 minutes of browser use a day](/browser-rendering/platform/limits/#workers-free) once you exceed those, further creation attempts return a 429 until the next UTC day.
8989

9090
To resolve: [Upgrade to a Workers Paid plan](/workers/platform/pricing/) which allows for more than 10 minutes of usage a day and has higher [limits](/browser-rendering/platform/limits/#workers-paid). If you recently upgraded but still see this error, try redeploying your Worker to ensure your usage is correctly associated with your new plan.
91+
92+
### `422 Unprocessable Entity`
93+
94+
A `422 Unprocessable Entity` error usually means that Browser Rendering wasn’t able to complete an action because of an issue with the site.
95+
96+
This can happen if:
97+
- The website consumes too much memory during rendering.
98+
- The page itself crashed or returned an error before the action completed.
99+
- The request exceeded one of the [timeout limits](/browser-rendering/reference/timeouts/) for page load, element load, or an action.
100+
101+
Most often, this error is caused by a timeout. You can review the different timers and their limits in the [REST API timeouts reference](/browser-rendering/reference/timeouts/).

0 commit comments

Comments
 (0)