Error when using Xata on AWS Lambda
Hello we are trying to deploy a dockerized node.js function to AWS Lambda (with the offical aws lambda node.js docker image), that creates objects with the drizzle ORM and uses the Xata-Http client. When we use this docker image locally we do not face any problems. But when we try to use it uploaded on AWS Lambda we get the following error, we put it in a pastebin because of the limit of characters of Discord:
https://pastebin.com/NQWRLkhC
The (simplfied) code we use is in the .txt file.
The error seems like an problem with xata-http and aws lambda.
Thank u a lot for ur help.
Lukas
Pastebin
{ "errorType": "Runtime.UnhandledPromiseRejection", "errorMes...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
1 Reply
Hey Lukas, thanks for your patience. I'll try to recreate this error and get back to you. 👍
Hey Lukas, thanks for your patience. I've not been able to narrow down the issue. Could you share some steps on how to reproduce this error? If this requires sharing sensitive info, please email [email protected] and I can continue to assist you there.