The issue appears to be related to storing and previewing PDF files, specifically encountering errors when initially uploading a PDF file and facing issues with previewing it. Here's a rewritten version of your statement:
"I'm experiencing a problem where initially, when uploading a PDF file using the code below, it shows an error and appears as null. After a few minutes, the file appears correctly in Appwrite but still doesn't display properly within my code.
const file = await new File([instance.blob], ${pdfContent.page1.heading.text}.pdf, { type: 'application/pdf' });
Uh preview only works with some images
thank you sir for your help its not reflecting changes directly
Sorry, what?
Recommended threads
- Create file is listing files instead of ...
This is a bit strange but, I cannot create files from within a funcion. I have tested with latest SDKs versions of node and python, both instead of creating the...
- Google OAuth2 is not working
the Google OAuth2 is working perfectly in localhost, but when I bring it to production that means real domain, then when I clicked button signin nothing happene...
- Trouble Creating Database and Collection...
I’ve set up my project credentials (endpoint, project ID) and generated an API key. I’m currently focusing on creating only the database and collections (tables...