Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49164

Ionic Push API Error 415 Unsupported Media Type

$
0
0

@rgecy wrote:

I am trying to get Ionic Push Notifications working in dev mode. I have the web-platform installed, got my GCM project number, done all the steps in the tutorial, added my code to $ionicPlatform.ready(function()

var push = new Ionic.Push({
			"debug": true
		});
		push.register(function (token) {
			console.log("Device token:", token.token);
		});

But when it makes the push.register call I am getting an error saying 415 Unsupported Media Type

POST https://rippleapi.herokuapp.com/xhr_proxy?tinyhippos_apikey=ABC&tinyhippos_rurl=https%3A//api.ionic.io/push/development 415 (Unsupported Media Type)

after a few minutes also get this error:
Ionic Push (dev): error connecting development push service. ionic.io.bundle.min.js:2

Any ideas why it will not connect? I am connecting fine when I test it from the cmd line.

Thanks,

RGecy

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>