Sorted @safwan @safwan
Am super grateful for your assistance
You all are the best
[solved] function build failed
Executed function manually but didn't get expected outcome...
And dart code was giving expected outcome when I ran it locally...
how did you initialize your function?
appwrite init project
wa successful
appwrite init function
was also successful
appwrite deploy function
was successful
but when I executed it on terminal, didn't get desired result
what's your code now?
calling all this on main function, made it entry level for execution
previously made the default default entry and I called everything inside the default function
none of both gave desired outcome
it seems like you changed the default starting template and the code is no longer compatible with Appwrite Functions
please create a new <#1072905050399191082> post and include your code
Ouch ๐ค
Worked @Steven
I activated before execution
Will I need to redeploy after code changes?
redeploy what?
New code changes on vscode
How do I push new change to function without creating new one
as mentioned in the docs, you would run appwrite deploy function
https://appwrite.io/docs/command-line-deployment#deployFunctions
Okay sir
I appreciate you dearly
Even as I emptied code functionality and deployed, I clicked execute on console and was given me previous outcome, wasn't supposed to send any result since code was commented
so how do I update the function that was deployed before?
make sure you selected the function to be deployed
I did
Reflected on console
After building, I activated it and then executed it too
your function is building successfully now. please create a new <#1072905050399191082> post to troubleshoot your function and include your code
Recommended threads
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- Functions in cloud console not works
please advise as all of my runing functions on Appwrite console was working before , but now it give this error [Invalid `headers` param: Value must be a valid...
- [SOLVED] Production down - createExecuti...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...