cancel
Showing results for 
Search instead for 
Did you mean: 

Push notification error in Android

Former Member
0 Kudos

Hi,

I'm following the steps provided in the below doc to enable to push notifications in android app:

but not able to send the notifications using REST client.

Below mentioned error messages are printed in the server logs:

#+00#ERROR#com.sap.mobile.platform.server.notifications.gcm.handler.GCMNotificationProcessor##anonymous#push-async-7####null#null#null#error#Push#null#null#bf7c51ee-6b6d-4c95-959c-6967355e9aa9#null#1429186701445#null#com.sap.mobile.platform.server.notifications.gcm.handler.GCMNotificationProcessor:handleResponse#GCM Notification sending failed, because the GCM server can not authentificate the sender account : 401#null#1381#Notification#1429186700966000#null |

#+00#ERROR#com.sap.mobile.platform.server.notifications.gcm.handler.GCMNotificationProcessor##anonymous#push-async-8####null#null#null#error#Push#null#null#d7cf2256-477d-45c3-afc2-5094854aa852#null#1429186701447#null#com.sap.mobile.platform.server.notifications.gcm.handler.GCMNotificationProcessor:handleResponse#GCM Notification sending failed, because the GCM server can not authentificate the sender account : 401#null#1382#Notification#1429186700966000#null


Please help me in resolving this issue...


client: SMP SDK SP05

server : SMP SP04

Accepted Solutions (0)

Answers (1)

Answers (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sukesh,

Check below points:

How exactly you are trying authenticating users for notification? Does user belong to some Active directory or you have created a user manually by adding "system admin login" provider in NOTIFICATION security profile?

Can you share the screenshot how exactly you have tried it in REST client?

You might get more info from this blog.

Regards,

JK

Former Member
0 Kudos

Even i am facing the same issue as reported. 401 unauthorized. This error happens with certain registrations and not all. But we cant predict which registration will give us this error and which will not give any.

I am attaching a screenshot of my rest request.

former_member190010
Contributor
0 Kudos

It seems you forgot to put in the request header the Push User/Pass.

Best Regards,

Emanuel