🎥 Make videos programmatically with React
Fix explanation of how to find which chunks are missing
Jonny Burgerc4c5c0104eb3
diff --git a/packages/docs/docs/lambda/troubleshooting/debug.mdx b/packages/docs/docs/lambda/troubleshooting/debug.mdxindex 4c774e706f..8a6ee164fb 100644--- a/packages/docs/docs/lambda/troubleshooting/debug.mdx+++ b/packages/docs/docs/lambda/troubleshooting/debug.mdx@@ -27,7 +27,7 @@ There are four reasons renders may fail:- <Step>1</Step> An error occurs in your React code.- <Step>2</Step> A timeout occurs after calling [`delayRender()`](/docs/delay-render).- <Step>3</Step> The Lambda function rendering one of the chunks times out.-- <Step>4</Step> The main Lambda function times out.{' '}+- <Step>4</Step> The main Lambda function times out.## Error in React code@@ -96,13 +96,12 @@ Click the blue link in the `Log stream name` column to open the log stream. If y### Finding the chunk that failed-To find which chunks failed to render, add `--log=verbose` to the Lambda render while rendering via the CLI. Look for a log statement `Render folder: ` to find the link to the render folder in S3.-When using [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda), you will get a `folderInS3Console` field in the return value.+To find which chunks failed to render, add `--log=verbose` to the Lambda render while rendering via the CLI.+Look for the link pointing to `progress.json`.+When using [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda), you will get a `folderInS3Console` field in the return value, which you can open and locate the `progress.json` file therein.-After opening the link, open the `chunks` subfolder. Go through each existing chunk and find the ones that are missing. The missing chunks are the ones that failed to render.--<img src="/img/chunks.png" /> <br />-<br />+Within the `progress.json` file, you will find a `chunks` array.+The chunks that are missing are the ones that failed to render.After you've identified which chunks are missing, [inspect the logs](#inspecting-the-logs) for that chunk to find the cause of the error.diff --git a/packages/docs/static/img/chunks.png b/packages/docs/static/img/chunks.pngdeleted file mode 100644index 19e1516751..0000000000Binary files a/packages/docs/static/img/chunks.png and /dev/null differ