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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...