returns "Request Failed with status code of 404"

Hi guys!

I am trying to send push notifications to an android device.

I have set everything and followed this tutorial like 10 times now, but I always get this error: Request Failed with status code of 404

This is my code;
    var push = new Ionic.Push({
        "onNotification": function (notification) {
            alert('Received notification');
        "pluginConfig": {
            "android": {
                "iconColor": "#0000FF"

    var user = Ionic.User.current();
    if (! { = Ionic.User.anonymousId();
    user.set('name', 'Ruben El Bueno');
    user.set('bio', 'This is my bio');
    var success = function(response) {
      $ = response;
      console.log('user was saved');

    var failure = function(error) {
      $ = "Not" + error;
    };, failure);

    var callback = function () {


But I keep getting the same error.

I also tried clearing the Mobile Device cache like posted here

Please help! :smiley:

Thanks guys!

It was a Google play bad configuration issue