When I try to query data from Parse using curl or .net client application it returns empty results

I followed a guide “How To Host Parse Server” for Ubuntu 14.04 and completed all steps there but can not figure out why parse is returning nothing. Please help

curl -H “X-Parse-Application-Id: MyAppId” curl -H “X-Parse-Application-Id: MyAppId” http://localhost:1337/parse/classes/Store both requests above return empty results: {“results”:[]}

If I connect directly to mongodb on the server or connect remotely (using MongoClient) I see that all data is there.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Found what was the problem: did not import _SCHEMA table from previous database. But now I have a new problem: when I do second query right away after a query server returns: 502 bad gateway. If I wait several seconds, second query works.