Skip to content

🎥 Make videos programmatically with React

better docs for getFunctions()

Jonny Burger57b37bf42eb1
diff --git a/packages/docs/docs/lambda/getfunctions.md b/packages/docs/docs/lambda/getfunctions.md
index 5b43055381..9b67ab2835 100644
--- a/packages/docs/docs/lambda/getfunctions.md
+++ b/packages/docs/docs/lambda/getfunctions.md
@@ -10,6 +10,10 @@ Retrieves a list of functions that Remotion deployed to AWS Lambda in a certain
The parameter `compatibleOnly` determines whether only functions that are compatible with the installed version of Remotion Lambda should be returned.
+:::note
+The Lambda function is versioned and the version of the function must match the version of the `@remotion/lambda` package. So if you upgrade Remotion, you should deploy a new function or otherwise you might get an empty array from this function.
+:::
+
To get information about only a single function, use [`getFunctionInfo()`](/docs/lambda/getfunctioninfo)
## Example
@@ -48,7 +52,7 @@ The [AWS region](/docs/lambda/region-selection) that you would like to query.
### `compatibleOnly`
-If true, only functions compatible with the currently installed Remotion Lambda version are returned.
+If `true`, only functions that match the version of the current Remotion Lambda package are returned. If `false`, all functions are returned.
## Return value