getting {"name":"AppwriteException","code":0,"type":"","response":""} on operations via node
- 0
- Self Hosted
- Web
- Storage

Hey, so im running a express node server and im trying to delete/upload files over it,
await storage.deleteFile(
process.env.APPWRITE_BUCKET_ID as string,
player.statsProfile.playerProfileSocial.profileBannerId
);
This implementation works fine over localhost, but on production deployed via docker i get
{"name":"AppwriteException","code":0,"type":"","response":""}
as response on every operation

i tought maybe its a issue with nginx so i just directly called the ipv4 where appwrite runs on, same result...

More information, this is how i initialise the storage instance ->
import { Storage } from "node-appwrite";
const sdk = require("node-appwrite");
let client = new sdk.Client();
client
.setEndpoint(process.env.APPWRITE_ENDPOINT)
.setProject(process.env.APPWRITE_PROJECT_ID)
.setKey(process.env.APPWRITR_KEY)
.setSelfSigned();
let storage = new sdk.Storage(client);
export function ApprWriteStorage(): Storage {
return storage;
}

most annoying part is that on localhost everything runs fine, so everytime i want to debug something i have to redeploy

i removed ```typescript .setSelfSigned();
same result

credentials and everything is fine, i use the same creds on localhost and everything runs smoothly

so it probably has something to do with the connection of the appwrite api endpoint itself?

the error really tells me nothing lmao

maybe it isnt that productive at all using appwrite just for storing files or?
Recommended threads
- I can't access my appwrite using my doma...
but if I use IP it is work
- Error importing data after server migrat...
Hello, I recently purchased a new web server and when trying to migrate my data from the old server to the new (both self-hosted instances of appwrite on coolif...
- REST API does not work for queries
``` curl -X GET "https://cloud.appwrite.io/v1/databases/<db-id>/collections/<c-id>/documents" -H "X-Appwrite-Project: <project-id>" -H "X-Appwrite-Key: <key>"...
