Kirit Vaghela
Posts: 0
Joined: Tue Aug 27, 2013 11:23 am

Device Id not found

Hello
I'm working on Push Notification. I'm try to unregister the device using a service. The service is not working. Reason is the device id for android contain semicolon. My device id is like 354905057898191;21302dd0f73a80d5 but in service it take only first part of device id

Url of service:
DELETE https://api.appery.io/rest/push/reg/3...

Error on Service :
{"code":"PNDD006","description":"Device id: 354905057898191 not found"}

Please help me.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Device Id not found

Hello,

Please try to use escape character before semicolon pre\/pre for query.

Kirit Vaghela
Posts: 0
Joined: Tue Aug 27, 2013 11:23 am

Device Id not found

Hello,

I replace code;/code with code\;/code

but it still not working.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Device Id not found

Actually said, device id should contain only numbers.

Kirit Vaghela
Posts: 0
Joined: Tue Aug 27, 2013 11:23 am

Device Id not found

OK.
I'm using codepushNotificationDeviceID/code as deviceID. is it correct?

Kirit Vaghela
Posts: 0
Joined: Tue Aug 27, 2013 11:23 am

Device Id not found

I use device.uuid as deviceID and unregister a device for push notification and no error is getting in service. but when I send push notification using code pushNotificationDeviceID/code than device is receiving notification. I dont want push notification after device is unregister.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Device Id not found

Where and how do you use it?
Please look at these posts
https://getsatisfaction.com/apperyio/...
https://getsatisfaction.com/apperyio/...

Kirit Vaghela
Posts: 0
Joined: Tue Aug 27, 2013 11:23 am

Device Id not found

I'm using localStorage.getItem('pushNotificationDeviceID') as deviceID. I try to test the service using appery.io but getting same error.
Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Device Id not found

Hello! Sorry for a late reply. Seems to be a bug. We're working on it.

Kirit Vaghela
Posts: 0
Joined: Tue Aug 27, 2013 11:23 am

Device Id not found

Thanks for reply

Return to “Issues”