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
{{ message }}
Repository navigation
addAllUnique() on Parse.User is not a function #4704
Used on Parse Cloud Code on beforeSave(Parse.User,{})
Environment Setup
Server
parse-server version (Be specific! Don't say 'latest'.) : 2.7.4
Operating System: Mac 10.10.5
Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): localhost
Database
MongoDB version: mongodb-core: 2.1.15
Storage engine: WiredTiger
Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): localhost
Logs/Trace
Include all relevant logs. You can turn on additional logging by configuring VERBOSE=1 in your environment.
user ParseUser { _objCount: 0, className: '_User' }
error: Error generating response. ParseError {
code: 141,
message: TypeError: user.addAllUnique is not a function
at /Users/venkataramana/Documents/parse-server/cloud2.js:180:18
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:228:7) } code=141,
Activity
flovilmart commentedon Apr 8, 2018
Can you double check your parse server and JS SDK version? Are those methods available on any other object?
venkataramanab commentedon Apr 8, 2018
After updating to parse@1.11.1 resolved my Issue.
venkataramanab commentedon Apr 8, 2018
before updating to parse@1.11.1, I didn't see this in ParseObject.js
flovilmart commentedon Apr 8, 2018
Awesome!