Unity Push Notification Problem

0 votes
Hi , i am having an issue using unity push notification service my code : pushsample.cs https://pastebin.com/4e2MUME2 my android manifest : https://pastebin.com/M6YBYdeY and my log issues : Push Android Worker Exception : com.google.android.gcm.server.InvalidRequestException: HTTP Status Code: 401 Exception while sending Push : cannot retry due to server authentication, in streaming mode and the user is registering in the shephertz server but the notification wont come to device
asked Feb 9 in Unity by wanderleydaconceicao (11 points)

1 Answer

0 votes

Hi Wander,

Greetings from ShepHertz!!!

Please make sure that Server Key that you are setting in AppHQ is correct. You will get the server key while configuring project on Google or FCM console. In FCM you need to provide legacy server key.

Let me know the details.

Regards

Vishnu Garg

App42 Team

answered Feb 12 by Vishnu Garg (673 points)
The server key is correct , i'm pretty sure and the problem persists
WIll you please share the details like Google Project number or server key on support@shephertz.com. so that we can look into it.
here is the link below for possible reasons.
https://stackoverflow.com/questions/13984888/http-status-code-401-in-gcmdemo
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com