Back

Unable to upload file

  • 0
  • Web
  • Storage
ajay -groot
25 Oct, 2023, 14:27

I am unable to upload file it give file has been File

TL;DR
User is unable to upload a file. They are given a link for more details on how to provide more information to the Appwrite `createFile` function. They are also asked for the code implementation of their `uploadFile` method. The user mentions that the error message says "file has been File". Solution: The user should provide more details to the `createFile` function, not just the file path. They should also check their code implementation of the `uploadFile` method and make sure it is correct. Additionally, it seems like there may be an error in the error message itself, as it says "file has
Binyamin
25 Oct, 2023, 14:29

What is the code implementation of your uploadFile method?

ajay -groot
25 Oct, 2023, 16:21
Binyamin
25 Oct, 2023, 16:53

You'll need to provide more details to Appwrite createFile function, not only the file path

Binyamin
25 Oct, 2023, 16:54

Check this

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