Error in Unsubscribing the User

0 votes

        I am calling the API to unregister as mentioned by you and I am getting the following errrors.Please suggest.

 

02-18 20:15:10.979: I/System.out(11053): Exception Message{"app42Fault":{"httpErrorCode":400,"appErrorCode":1713,"message":"BAD REQUEST","details":"User by the name 'ajay.kalkoti@gmail.com' already unsubscribe with the device 'APA91bFm53gikzf0MzIbNnvQ89oruxwkc_JxB4SWIfzjPonAP4ONroVl5hrZ5wLV8A6gyyCz9jXn0NzwcqE6OtroUSWGTMniMFxp0OptQXVP4SolQBKvIwtU0PLDXXWI85_Py3VotQHXocAbdovvD2FSstXrawxJrDZvWt6-97TUk8EPWd9nb-0'"}}
 
related to an answer for: How to unregister a push notification
asked Feb 18, 2015 in App42 Cloud API-BaaS by ajay.kalkoti (10 points)
recategorized Apr 7, 2015 by sushil

1 Answer

0 votes

Hello Ajay,

 
The exception which you have shared is occurred because of your device is already unsubscribed. If you want to subscribe your user again for push notification, you can call resubscribe api. Please have a look at this link for the code snippet and let me know if it helps.
 
Thanks,
Himanshu Sharma
answered Feb 18, 2015 by hs00105 (2,005 points)
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
...