according to the google's guide Error responses, I can return an error response when some errors occur in my cloud service.So, I want to try:
{
"requestId": "13711695294173375391",
"payload": {
"commands": [
{
"status": "ERROR",
"ids": [
"5a1cbc26e4b0532d095e72a0"
],
"errorCode": "authExpired"
}
],
"errorCode": "authExpired"
}
}
but this syntax doesn't work.what's the correct usage of error response,can anyone give me a example?