05-16-2023 10:53 AM
Hi!
I'm working with the Android SDK, it's an inherited project
I have the following error:
Payload is not a valid Sinch push payload SinchError[errorType=GENERIC, code=5001, message='', data={}]
But I don't understand the error. Can someone please help me understand the error?
Solved! Go to Solution.
05-25-2023 12:16 AM
Hi,
You need to provide your FCM credentials as per instructed here:
However currently our upload is disabled so I have sent you details on how to proceed separately.
05-17-2023 04:40 AM
Lets see if we can help, as we cannot see the error reference,
Please can you confirm;
If you have a call-id or server-reference then this would help us to see what the issue might be.
05-22-2023 10:58 AM
Yes I have do everything you mention there.
I recibe the Firebase notification for testing, the problem is when I get the notification.
Please tell me what information do you need and I add it to you.
Thanks
05-22-2023 11:32 PM - last edited on 05-23-2023 01:44 AM by Shahzad_Ismail
Hi
The payload you are passing is still not valid.
Is this error when using the sinch-rtc-sample-push sample that comes with the SDK? If not then please test with the sample first.
Please also check the version of the SDK you are using. If the SDK version 4 or below then please use the latest SDK version.
If you can replicate this with the sample application and are using the latest SDK I invite you to open a support ticket and include the Logcat output from Android studio.
05-24-2023 11:25 AM
Hello Roland.
Thank you very much for your kind answer.
I did a test with my keys at https://github.com/sinch/rtc-reference-applications the calls do appear in the Sinch Dashboard log, but on my devices I can't receive any calls.
As the README of the document indicates, I put my keys and my Google Services JSON, but when I want to make a call, it does not reach any device.
On the other hand, I don't understand how your sample application is built, because I followed the tutorials at https://developers.sinch.com/docs/in-app-calling/getting-started/android/create-app/ but it seems to me that the code is incomplete or something is wrong with it.
If you could give me advice.
Thank you so much
05-25-2023 12:16 AM
Hi,
You need to provide your FCM credentials as per instructed here:
However currently our upload is disabled so I have sent you details on how to proceed separately.
08-01-2023 04:32 PM
Hi Roland.
I need you help, again we have the problem with the payload, I hope you have the opportunity to review it please and thanks.
17:29:58.656 MessagingService E Error while executing queryPushNotificationPayload
java.lang.IllegalArgumentException: Payload is not a valid Sinch push payload SinchError[errorType=GENERIC, code=5001, message='', data={}]
08-02-2023 02:33 AM
Hi,
I can help you here, but I am going to need your details to check the logs, so I invite you to open a ticket here:
https://tickets.sinch.com/plugins/servlet/desk/portal/31/
08-02-2023 03:37 PM
Hello
Thank you, what information do you need?
08-03-2023 03:19 AM
Hi
A call-id or server-reference from your last attempt with 7 days.