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
- Clean install of 1.9.0 shows errors in a...
I just run a full clean install of Appwrite on my server following the Manual installation guide in the docs page. The console seems to work, visually there d...
- Setup custom domain on selfhosted behind...
Hello everyone, can anyone help me to setup a custom domain on a selfhosted appwrite instance thats running behind cloudflare tunnels? Current setup: Appwrite r...
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...