Rank 3: Container
Hi! I always get AppwriteExeption: Network request failed, to this code:
console.log(file.uri) try { const response = await storage.createFile( appwriteConfig.pfpBucketID, ID.unique(), { name: `${username}_pfp`, type: "image", size: file.fileSize, uri: file.uri, } );
return response.$id; } catch (error) { console.error("Error:", error); }};This worked before, now it doesnt. Is this related to the endpoint problem? #Internal error (500) on custom domain