-
1.54.2 (Sep 19, 2023)
📊 New & Improved Compute Usage Graph You now have the ability to view Lambda, Redis, and Tasks compute usage on your instance usage graph. We've also added the option to toggle on and off each item so it's easier for you to track the individual usage of each component. 🧑💻️ Lambda Functions get console.log(); You can now…
-
How can I use environment variables in lambda functions?
How can I use environment variables in lambda functions? In my Workspace Settings I created a env called "apiKey".How can I use it in the code of my Lambda Function? If I try to log it or use it its always undefined. In the docs it says u can use it everywhere. I also tried $var.apikey and $apiKey. 😒plz help…
-
message: Unable to locate input
No matter what I do I get this using lambda functions: My code: It should return true…
-
Create Image from buffer?
Hey! I'm doing an external API call to get the image. Then I would like to create an image based on the result of the request. When I'm passing a random URL of the image to "Create Image Metadata" like this: Everything works fine, but I can't pass the directly URL to "Create Image Metadata" because the request that I'm…
-
Count() in Lambda?
I have an array of objects that have their own little arrays: [ {"numbers":[[1],[1,2],[1,2,3]]}, {"numbers":[[4],[4,5],[4,5,6]]} ] I want to update the objects to include only child arrays with with more than one element so the result would be: [ {"numbers":[[1,2],[1,2,3]]}, {"numbers":[[4,5],[4,5,6]]} ] My research says…
-
Lambda should fail cleanly and throw an error if there is an unhandled error inside.
I use Lambda for a very complex data manipulation action. However, I found out that when the code inside Lambda encounters an unhandled error (null/undefined reference) it will return the error message as the result of the Lambda step. IMO this is not a very intuitive thing to do and we should just cleanly 500 the API if…
-
Code generation from string disallowed in this context
Hey guys, I'm trying to dynamically build a JSON object from a Javascript-end definition. My input is plain-text, like: "obj[people][name] = 'Anthony'; obj[people][age] = 19;" And I want to build a JSON object that I can work with in Xano. I am able to do it in Node.js locally, so I tried to use Lambdas and run that…