Hello Everyone, I'm trying to create and deploy a function through appwrite kotlin sdk. But i'm getting this exception io.appwrite.exceptions.AppwriteException: No file sent . Appwrite is hosted locally.
function.create(
functionId = "6664b0fb0033b1c47151",
name = "SayHello",
runtime = Runtime.KOTLIN_1_9,
entrypoint = "src/Main.kt"
)
function.createDeployment(
functionId = "6664b0fb0033b1c47151",
code = InputFile.fromFile(File(gzipFilePath)),
activate = true,
entrypoint = "src/Main.kt",
onProgress = {
Logger.i("Progress: $it")
}
)
It's working fine with cli. but in server sdk i'm getting this exception. Please give me a solution if anyone knows ASAP
Thank you all.
Recommended threads
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...
- Timed out waiting for runtime error
execution id 6a3e0791978712d81ee0 im having issue with appwrite function runtime performance. even after 4gbram and cpu same function sometimes completes in a...
- Function crash first run after a while
Big issue I’m facing , almost all functions crash or run for a very long time the first time i run them after a long time without running them I have a “help-c...