Skip to content

Instantly share code, notes, and snippets.

@jacobthemyth

jacobthemyth/error.sh

Last active Aug 29, 2015
Embed
What would you like to do?
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
You can’t perform that action at this time.