There is any way to pass vars into a local function?
I'm running a function with the CLI command appwrite run function --function-id
but I can't see any value in context or context.req
and when I log it I see this error: SyntaxError: JSON Parse error: Unexpected EOF
Vars are passed via a .env file
Logging req when there isn't a valid JSON body will throw an error
I see, I don't have any .env file, this should be documented here right?
Recommended threads
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- general_bad_request when creating accoun...
I have created a new bug request, could anyone have a look - https://github.com/appwrite/appwrite/issues/11908?
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...