Device registration for push notification, -- 401 unauthorized error

We
are testing the push notification feature to integrate with our app but I’m not
able to register the device for push notification.

Following
request I’m sending to the API from Fiddler

POST
https://api.backendless.com/v1/messaging/registrations

application-id:
6F796A34-D1B7-DB64-FF39-0EC5413CA200
secret-key:
A61604FA-703F-7452-FF10-50568EB65E00
Content-Type:
application/json
application-type:
REST
Host:
api.backendless.com
Content-Length:
126
{
“deviceToken”
: “23234324324234324”,
“deviceId”
: “32432432432432432423423434”,
“os”
: “IOS”,
“osVersion”:
“11.0”
}

Error
received:
code=2002

message=Version
is disabled or provided wrong application info (application id or secret key)

Hello,

Please check this documentation for v4. There is no version for Backendless 4.

Regards, Olga

Thanks for the link, it worked after following version 4.0 documentation

Is device token is mandatory to send push notification? I don’t register devices in apple.

Hi, I’m able to register the device but while sending push notification from Backendless console, I’m not receiving the notification in iPad. My device token field is empty as I don’t have it. I used Device id(UDID) to register device.

I’ve answered you in another topic with the same problem.
http://support.backendless.com/t/push-notification-not-received-in-device#comment-34868

Hi Oleg, thanks for your support.

We are using HTML5 with PhoneGap to build cross platform app. We are not sure about getting device id from iPad device and device token for registering device in backendless service…