Breaking down a push notification response to see why its not working


#1

Looking for some help in trying to figure out why my push notification is not being sent using the Ionic Push API.

This is the response I receive back from the server when attempting to send the Push via CURL:

{
	"meta": {
		"status": 201,
		"request_id": "0d2a22ea-8b93-4375-c32f-1379ab62b5bc",
		"version": "2.0.0-beta.0"
	},
	"data": {
		"created": "2017-01-20T23:15:25.720507+00:00",
		"uuid": "XXXXXXX",
		"state": "enqueued",
		"status": "open",
		"config": {
			"tokens": ["XXXXXXX"],
			"notification": {
				"message": "Test!",
				"title": "Welcome to the Planet Ionic"
			},
			"profile": "production"
		},
		"app_id": "XXXXXXX"
	}
}

I replaced some of environment variables with XXXXXXX, but if its anything that can help lead my down to tracking what’s going on, I can certainly share them.

Thanks for any help.


#2

When I attempt to view the status of the message through https://api.ionic.io/push/notifications/:UUID:/messages I get this response:

{

“meta”: {
“version”: “2.0.0-beta.0”,
“request_id”: “8ed3ad69-00e9-4578-c5fb-f6a973bf2648”,
“status”: 200
},
“data”: []
}

With the data being empty. Any ideas on what the data field is not displaying any information from the push?