-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
Got following error, when we search User Class of certain usernames
var options = {useMasterKey:true};
var emails = ["[email protected]","[email protected]"];
var query = new Parse.Query(Parse.User);
query.containedIn("username",emails);
query.find(options).then(function(objects){
contacts = objects;
//Handle success
},
function (err){
console.log("Search Contact Error :" +err);
//Handle Failure
}
);
Error generating response. TypeError: Cannot read property '__type' of null
2017-07-16T17:20:52.417Z - Uncaught internal server error. TypeError: Cannot read property '__type' of null
at transformValue (/app/node_modules/parse-server/lib/Adapters/Storage/Postgres/PostgresStorageAdapter.js:102:90)
at Array.map (native)
at buildWhereClause (/app/node_modules/parse-server/lib/Adapters/Storage/Postgres/PostgresStorageAdapter.js:523:19)
at PostgresStorageAdapter.find (/app/node_modules/parse-server/lib/Adapters/Storage/Postgres/PostgresStorageAdapter.js:1239:19)
at /app/node_modules/parse-server/lib/Controllers/DatabaseController.js:1007:36
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:208:7) TypeError: Cannot read property '__type' of null
at transformValue (/app/node_modules/parse-server/lib/Adapters/Storage/Postgres/PostgresStorageAdapter.js:102:90)
at Array.map (native)
at buildWhereClause (/app/node_modules/parse-server/lib/Adapters/Storage/Postgres/PostgresStorageAdapter.js:523:19)
at PostgresStorageAdapter.find (/app/node_modules/parse-server/lib/Adapters/Storage/Postgres/PostgresStorageAdapter.js:1239:19)
at /app/node_modules/parse-server/lib/Controllers/DatabaseController.js:1007:36
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:208:7)
Metadata
Metadata
Assignees
Labels
No labels