You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on an app where any user can upload files, however if I try it, I get the following error from browser: Exception in delivering result of invoking '/cfs.files.filerecord/insert': TypeError: Meteor.userId is not a function
It seems that uploading of files does not work for a user unless he is logged in.
The text was updated successfully, but these errors were encountered:
@robinnewhouse Also if you want a system where anyone can upload files (say, while Signing Up). The fix is simple though: I changed a couple of lines of code and it runs smoothly without producing errors.
I am working on an app where any user can upload files, however if I try it, I get the following error from browser:
Exception in delivering result of invoking '/cfs.files.filerecord/insert': TypeError: Meteor.userId is not a function
It seems that uploading of files does not work for a user unless he is logged in.
The text was updated successfully, but these errors were encountered: