Skip to content
Back

Error uploading file from React native document picker to Appwrite Bucket

  • 0
  • Cloud
Aditya-2407-G
22 Mar, 2024, 16:13

I wanted my react native application to upload a pdf file to the Appwrite Bucket but when I use the document picker I face an error : "file should be of type File". When I change the type to File document picker gives an error that it wants the file to be of type DocumentpickerResponse

TL;DR
Developers are encountering an error uploading a pdf file from React Native document picker to the Appwrite Bucket. The issue arises because the document picker requires the file to be of type DocumentpickerResponse instead of File.
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