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
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...