Hello Christian Tapia
Please share more info:
1. Cross check if you have assigned "Notification User" role to user. (Go to Development & Operations > Configure Development & Operations )
2. You need to write piece of code in your app in order to get a token ID from push provider like APNS, FCM etc
3. Confirm in a GET REST API call whether that token ID has been stored for that user and AppCID
4. If above steps are done and you still facing error for push REST call, increase log level in Mobile services and look into logs for more details.
Pls check https://blogs.sap.com/2016/10/30/getting-started-kapsel-part-4-pushsp13/
Regards,
JK
PS: while sending PUSH POST call, you have to pass identity credentials used for user on-boarding.
Just to close the thread, the problem was the security settings in SCP mobile service for dev & ops. Since I was using SCP Identity Authentication Service as Identity Provider for the SAPUI5 app, I set the Basic Authentication Targets to "Cloud Platform SCIM", while it should've been "Mobile Service SCIM" and pointing to "https://mobile- . . hana.ondemand.com".
After doing this, I was able to call the Push notification REST API from Postman and also from another SAPUI5 app, doing a Basic Authentication using SAP ID Service user (not user from the IdP).
Thanks!
Add comment