Skip to content
Back

storage.createFile` throws `source.on is not a function

  • 0
  • Storage
L0GIC
21 Feb, 2025, 16:33
TL;DR
Problem: When developers use `storage.createFile`, they encounter an error stating `'source.on is not a function.'` Solution: This error occurs when the source provided is not a valid file object. Ensure the source being passed to `storage.createFile` is a valid file object to resolve the issue.
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