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
- Realtime api and labels as permission
in my tables i set labels as permission and real-time capabilities stopped working. Before when i was having "any" role everything was working. Note: user have...
- "Restore project" button fails: "Invalid...
In the dashboard, it clicking "Restore project" fails. The request sent to `PATCH https://cloud.appwrite.io/v1/projects/:project_id` with payload `{status: "act...
- how to access the value of account statu...