Closed
Description
Issue Description
My instance of Parse Server always error out with error "ParseError { code: undefined, message: 'unauthorized' }" when using find({sessionToken: }). The session token is retrieved with "request.user.getSessionToken()".
Steps to reproduce
var token = request.user.getSessionToken(); // it is not null
var query = new Parse.Query(MyTable);
query.find({sessionToken: token}).then(function(results) {
...
});
Expected Results
No error
Actual Outcome
ParseError { code: undefined, message: 'unauthorized' }
Environment Setup
-
Server
- parse-server version (Be specific! Don't say 'latest'.) : 2.3.2
- Operating System: Ubuntu 14.04 LTS
- Hardware:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 6
On-line CPU(s) list: 0-5
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 6
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 63
Stepping: 2
CPU MHz: 2499.980
BogoMIPS: 5001.29
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
NUMA node0 CPU(s): 0-5 - Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Linode
-
Database
- MongoDB version: 3.0.8
- Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): Local to the same machine
Metadata
Metadata
Assignees
Labels
No labels