local,
parse server: 7.0.0
mac OS, intell
Database Mongo db docker image.
Client
curl
Logs
2024-04-25 13:52:16 warn: DeprecationWarning: The Parse Server option 'encodeParseObjectInCloudFunction' default will change to 'true' in a future version.
2024-04-25 13:52:16
2024-04-25 13:52:16 [1] parse-server running on http://localhost:1337/parse
2024-04-25 13:52:19 error: This user is not allowed to access non-existent class: GameScore {"code":119,"stack":"Error: This user is not allowed to access non-existent class: GameScore\n at /parse-server/lib/RestWrite.js:174:15\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"}
Issue Description
Steps to reproduce
Followed instruction to run parse servce locally.
$ git clone https://github.com/parse-community/parse-server $ cd parse-server $ docker build --tag parse-server . $ docker run --name my-mongo -d mongo
$ docker run --name my-parse-server s -p 1337:1337 --link my-mongo:mongo -d parse-server --appId myAppId --masterKey myMasterKey --databaseURI mongodb://mongo/test
$ curl -X POST \ -H "X-Parse-Application-Id: APPLICATION_ID" \ -H "Content-Type: application/json" \ -d '{"score":1337,"playerName":"Sean Plott","cheatMode":false}' \ http://localhost:1337/parse/classes/GameScore
Actual Outcome
curl -X POST \ -H "X-Parse-Application-Id: myAppId" \ -H "Content-Type: application/json" \ -d '{"score":1337,"playerName":"Sean Plott","cheatMode":false}' \ http://localhost:1337/parse/classes/GameScore {"code":119,"error":"This user is not allowed to access non-existent class: GameScore"}%
Expected Outcome
{ "objectId": "2ntvSpRGIK", "createdAt": "2016-03-11T23:51:48.050Z" }
Environment
local, parse server: 7.0.0 mac OS, intell Database Mongo db docker image.
Client curl
Logs
2024-04-25 13:52:16 warn: DeprecationWarning: The Parse Server option 'encodeParseObjectInCloudFunction' default will change to 'true' in a future version. 2024-04-25 13:52:16 2024-04-25 13:52:16 [1] parse-server running on http://localhost:1337/parse 2024-04-25 13:52:19 error: This user is not allowed to access non-existent class: GameScore {"code":119,"stack":"Error: This user is not allowed to access non-existent class: GameScore\n at /parse-server/lib/RestWrite.js:174:15\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"}