
Hello,
I have a problem with my functions from Appwrite.
Currently, we use AWS SAM CLI to simulate an API Gateway with Lambdas, where the client is initiated in a Lambda authorizer with the JWT.
The Lambdas retrieve this client for the database module.
However, as soon as we try to use the list documents function, we encounter the following error:
ERROR Error during handling: TypeError: this.client.call is not a function aws-1
at Databases.listDocuments (/opt/nodejs/node_modules/node-appwrite/dist/services/databases.js:1718:24)
at Runtime.handler (/var/task/index.js:45:39)
at Runtime.handleOnceNonStreaming (file:///var/runtime/index.mjs:1306:29)
Is there a compatibility problem with AWS SAM CLI and Appwrite?
Thank you!
Recommended threads
- Function does not have createDocument ac...
I have a function which I'm trying to have create a document in a collection. The collection in question has row security enabled and permissions set to grant u...
- [SOLVED] Running into error 400 when lin...
I cant find the create collection under database, all I see is create tables and this is affecting my react app
- Issue with Education Plan Activation
I recently registered for the Appwrite Education Program through your official link: https://appwrite.io/education. While the registration process seemed to com...
