
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
- Failed to verify JWT. Invalid token: Exp...
Hi I am trying to call a function from my mobile app, but I am receiving "Invalid token expired." My code looks more or less like this ```ts // from my app ...
- How do I pair Polar.sh + Hono + Appwrite...
This is what all it required by polar to see the webhook data. Managing with webhook data is not an issue, but how do I pair this all with appwrite functions st...
- The function became slower after being e...
I used the Python SDK and set `xasync=True` in `create_execution`, expecting it to execute quickly on another worker. However, the execution ended up taking sev...
