What exactly did you do with the CLI?
upgraded the CLI globally (today).
Created the function locally with the CLi. This was added to appwrite.json
{
"$id": "purge",
"name": "purge",
"runtime": "dart-2.18",
"execute": [],
"events": [],
"schedule": "",
"timeout": 55,
"enabled": true,
"logging": true,
"entrypoint": "lib/main.dart",
"commands": "dart pub get",
"ignore": [
".packages",
".dart_tool"
],
"path": "functions/purge"
}
dart 2.18 is set in .env It gets built. But it throws. Bad definition IMO.
and you never had a function w/ id purge?
never
I am using this as a woraround.
List<String> log = [];
log.add("Profile image pruning initiated...");
But I still can't .send anything back.
you're executing the code in appwrite, right?
what are you talking about?
Yes. From the console.
i just tried deploying the 2.18 function starter and it worked fine
created using the CLI?
yes
did you upgrade to appwrite 1.4.2?
yes. from 141<140<133
Migration were ok
did you run the upgrade command?. btw...you probably should have upgraded to 1.3.8 and ran the migrate command before upgrading to 1.4...
you mean like entrypoint="upgrade"? yes
what other changes did you make to the function starter before deploying?
I think I deployed it as 2.17 then 2.18
try deleting the function from appwrite, your local file system, and the appwrite.json. then, initialize and deploy the dart starter and test that in Appwrite
The currecy exchange sample ?
no appwrite init function
the starter runs fine.
I may have changed dart_appwrite: 8.0.0 to dart_appwrite: ^10.0.0
then some change you made caused problems...work incrementally to narrow down what the problem is
Thanks. Can't live w/o proper logs.
I haven't had much time since 1.3.3 to keep up with changes
Recommended threads
- How does sending email from the Appwrite...
I noticed that the pricing page mentions “Messages – 1000 per month” for the Free plan. Is this different from sending emails? When I try to send an email usin...
- float
Hello everyone, So, I created a column of type **float** with the **min** and **required** options, I noticed that it wouldn't let me set a **2 decimal points ...
- Unauthorized Charge on My Card – I Don’t...
Hi, I need urgent help. I received a bank SMS about a charge from "APPWRITE PRO" (18.460 JOD on 10/12/2025 at 03:47), but I DO NOT have an Appwrite account and...