
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
- Oauth2-Error 400Invalid `success` param:...
My code: > await new Account(client).createOAuth2Session(OAuthProvider.Google, 'https://www.mydomain.online/home', 'https://www.mydomain.online'); I ha...
- Issue with Appwrite Function Execution –...
Hi all, I'm encountering an issue when calling an Appwrite function from my Flutter app. **Environment:** ```Flutter SDK: 3.27.3 Appwrite Flutter SDK: 16.1.0```...
- Storage server error
Hi! When I try to upload a video to Appwrite Storage, it gives me this error (it works with images but not with videos): ```[AppwriteException: Server Error]``...
