Skip to content

Instantly share code, notes, and snippets.

@systemist
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save systemist/11264031 to your computer and use it in GitHub Desktop.
Save systemist/11264031 to your computer and use it in GitHub Desktop.
Parse query 500 Error
curl -X GET \
-H "X-Parse-Application-Id: a9YF2w1IkjzHT8zCkOwK0p7JkH2Yfr88Ynp1RaL1" \
-H "X-Parse-REST-API-Key: RagkfFQHSj7onw1IJ4AcBNgEKyauxFSPj7vGegph" \
-G \
--data-urlencode 'include=skills' \
https://api.parse.com/1/classes/GameScore/
{
"results":[
{
"cheatMode":false,
"playerName":"Sean Plott",
"score":1337,
"skills":[
{
"name":"pwnage",
"createdAt":"2014-04-24T17:59:09.399Z",
"updatedAt":"2014-04-24T17:59:09.399Z",
"objectId":"DyYRJPBSaM",
"__type":"Object",
"className":"Skill"
},
{
"name":"flying",
"createdAt":"2014-04-24T17:59:14.929Z",
"updatedAt":"2014-04-24T17:59:14.929Z",
"objectId":"e0dHFeWpXj",
"__type":"Object",
"className":"Skill"
}
],
"createdAt":"2014-04-24T17:56:18.669Z",
"updatedAt":"2014-04-24T18:00:38.219Z",
"objectId":"Fq6yrBWLgT"
}
]
}
curl -X GET \
-H "X-Parse-Application-Id: a9YF2w1IkjzHT8zCkOwK0p7JkH2Yfr88Ynp1RaL1" \
-H "X-Parse-REST-API-Key: RagkfFQHSj7onw1IJ4AcBNgEKyauxFSPj7vGegph" \
-G \
--data-urlencode 'include=skills' \
https://api.parse.com/1/classes/GameScore/Fq6yrBWLgT
{"code":1,"error":"internal error"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment