Hi,
I'm having an error while using the Urban Airship API for sending a push notification. Here is the payload I'm using:
{
"audience": "all",
"notification": {
"alert": "Foo title",
"actions": {
"open": {
"type": "deep_link",
"content": "foo://fooURL/fooParameter"
}
}
},
"message": {
"title": "Foo title",
"body": "Foo description"
},
"device_types": "all"
}
With this one I'm getting a 403 forbidden error (The specified appkey [XXXXXXX] is not entitled to use the Message Center). But from UrbanAirhsip dashboard, I'm able to submit the push notification. My guess is that I'm sending something incorrect or different than when using the dashboard (I'm just interested in using a title/description field).
Could you provide me some feedback for knowing where is the problem? Thanks in advance
Comments
2 comments