L0GICOriginal post
Rank 1: Thread
I don't even know how to type this cause I'm more than frustrated at this point.
It should be a straightforward implementation but Appwrite, or more accurately its node-SDK just had to cause vague and untraceable error that theoretically should be an easy fix
I thought I had it working but it's just a stupid edge case. The behavior of **storage.createFile **is very inconsistent! It works one minute and breaks the next, literally! Please fix this. Please
The fact that I was able to save the file recivied via formdata as a local file says the parsing is fine. The uploading is broken
Summary
Title: Error with source.on not being a function in Appwrite node-SDK
Developers are frustrated with a vague error while trying to implement storage.createFile in Appwrite. The behavior of the function is inconsistent, leading to errors despite successful parsing.
Solution: The issue could be related to incorrect usage of the source.on function. Double-check the implementation and ensure that the source object is correctly defined before using it in the createFile function.