Back

previewing PDF files, in storage showing null

  • 0
  • Web
  • Storage
my_variable
23 Sep, 2023, 20:38

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' });

TL;DR
The user is experiencing issues with uploading and previewing PDF files. Initially, the uploaded PDF files show as null and encounter errors. Even after a few minutes, the files do not display correctly within the code. Solution: There is no solution mentioned in the support thread.
Drake
23 Sep, 2023, 20:52

Uh preview only works with some images

my_variable
24 Sep, 2023, 03:07

thank you sir for your help its not reflecting changes directly

Drake
24 Sep, 2023, 17:13

Sorry, what?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more