I have no permissions yet am seeing this error in an attempt to create a .tar file my array buffer of an image in my storage using this ```js
const result = await storage.getFileView('SID', 'FID');
const buffer = Buffer.from(result);
const pack = tar.pack();
pack.entry({ name: IMG_0930.png }, buffer, () => {
pack.finalize();
});
const chunks = [];
pack.on('data', (chunk) => chunks.push(chunk));
pack.on('end', async () => {
const tarBuffer = Buffer.concat(chunks);
const filename = 'images.tar';
const uploadedFile = await storage.createFile(
config.storageId,
ID.unique(),
InputFile.fromBuffer(tarBuffer, filename)
);
});``` would appreciate the help pls
What did you set for the file extensions for the bucket?
i just removed it rn and it worked again but i'm pretty sure i hade done this before. is there a glitch at times when you update your. permission settings they will revert to the previous permissions?
File extension validation isn't permissions, but no I haven't heard of updates not persisting
Recommended threads
- Problem with Appwrite CLI: Removing data...
I'm having an issue with the CLI while trying to manage multiple databases within a single project. My goal is to simplify my local environment by only includin...
- Issue with Appwrite Read Request Limit b...
Hi Team, My coding terminal connected to the Appwrite CLI blew through my Projects Read request limit with in a day! and thats a large limit! I'm not sure how...
- Issue with email/password auth in Flutte...
is there an issue with Flutter auth right now? I am unable to login all of a sudden in my app with `createEmailPasswordSession`... when I go to verify the login...