johntube
started a topic on Fri, 29 May 2015 at 2:12 PM
"if not specified, all keys will be returned, while an empty array indicates that no keys should be returned"
If by 'not specified' you mean : undefined, null, type is other than array.
This is working.
But if 'empty' is supposed to be :
'Keys':[]
or if in script : myArray.length = 0; 'Keys':myArray
This does not work. What does works in this situation is an array of keys that does not exist in the SharedGroup.
One more thing :
there is also an undocumented error that could be returned with any API call that includes JSON data : (1071)
{
"code": 400,
"status": "BadRequest",
"error": "InvalidRequest",
"errorCode": 1071,
"errorMessage": "Invalid JSON in request",
"errorHash": "cc118bdd485392c609e693b5213a8a58",
"errorDetails": {
"ValidationError": [
"Invalid JSON primitive: ."
]
}
}