{
"message": {
"data": {
"chatID": "06348c10-cf37-11ef-9bd1-52894e2c9ee7",
"typeNotification": "chat",
"chatMessageID": "5ef8e312-9e8c-a169-8491-68efeff6303f",
"title": "Lorem Ipsum",
"body": "e",
"selectedIdWorkout": null,
"userTo": "d5b3ac4f-f191-11ee-ae89-a8a159113189",
"userSent": "e4e8eec0-5a42-11ef-a763-52894e2c9ee7"
},
"android": {
"priority": "high"
},
"topic": "d5b3ac4f-f191-11ee-ae89-a8a159113189"
}
}
Command: query: getLastChatMessage, took: 43ms, client=[0:0:0:0:0:0:0:1]
Command: batch (size=1), took: 31ms, client=[0:0:0:0:0:0:0:1]
Command: batch (size=1), took: 68ms, client=[0:0:0:0:0:0:0:1]
Command: batch (size=1), took: 88ms, client=[0:0:0:0:0:0:0:1]
{
"message": {
"data": {
"chatID": "06348c10-cf37-11ef-9bd1-52894e2c9ee7",
"typeNotification": "chat",
"chatMessageID": "aa0fb71c-483c-aa47-8338-498347c0a749",
"title": "Lorem Ipsum",
"body": "poo",
"selectedIdWorkout": null,
"userTo": "d5b3ac4f-f191-11ee-ae89-a8a159113189",
"userSent": "e4e8eec0-5a42-11ef-a763-52894e2c9ee7"
},
"android": {
"priority": "high"
},
"topic": "d5b3ac4f-f191-11ee-ae89-a8a159113189"
}
}
ResponseError. Reason: , Response: {
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"status": "UNAUTHENTICATED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "CREDENTIALS_MISSING",
"domain": "googleapis.com",
"metadata": {
"method": "google.firebase.fcm.v1.FcmService.SendMessage",
"service": "fcm.googleapis.com"
}
}
]
}
}