You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We got another error -
{\n "error": {\n "code": 400,\n "message": "Recipient of the message is not set.",\n "status": "INVALID_ARGUMENT",\n "details": [\n {\n "@type": "type.googleapis.com/google.rpc.BadRequest",\n "fieldViolations": [\n {\n "field": "message",\n "description": "Recipient of the message is not set."\n }\n ]\n },\n {\n "@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",\n "errorCode": "INVALID_ARGUMENT"\n }\n ]\n }\n}\n
The text was updated successfully, but these errors were encountered:
We are using self-hosted chatwoot (v3.3.2) with an official android mobile app (v1.10.44)
We have set ENABLE_PUSH_RELAY_SERVER to true
After debugging we encountered these errors
1st error -
{\n "error": {\n "code": 400,\n "message": "Invalid JSON payload received. Unknown name "sound" at 'message.notification': Cannot find field.\nInvalid JSON payload received. Unknown name "collapse_key" at 'message': Cannot find field.",\n "status": "INVALID_ARGUMENT",\n "details": [\n {\n "@type": "type.googleapis.com/google.rpc.BadRequest",\n "fieldViolations": [\n {\n "field": "message.notification",\n "description": "Invalid JSON payload received. Unknown name "sound" at 'message.notification': Cannot find field."\n },\n {\n "field": "message",\n "description": "Invalid JSON payload received. Unknown name "collapse_key" at 'message': Cannot find field."\n }\n ]\n }\n ]\n }\n}\n
After removing sound, collapse_key parameters from https://hub.2.chatwoot.com/send_push API.
We got another error -
{\n "error": {\n "code": 400,\n "message": "Recipient of the message is not set.",\n "status": "INVALID_ARGUMENT",\n "details": [\n {\n "@type": "type.googleapis.com/google.rpc.BadRequest",\n "fieldViolations": [\n {\n "field": "message",\n "description": "Recipient of the message is not set."\n }\n ]\n },\n {\n "@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",\n "errorCode": "INVALID_ARGUMENT"\n }\n ]\n }\n}\n
The text was updated successfully, but these errors were encountered: