Ionic push user is not created

this error is coming.

var user = Ionic.User.current();
Ionic User: Error: Request Failed with status code of 404

I’m seeing a similar thing in the form of a 404 when calling user.save()

I am able to successfully cal var user = Ionic.User.current() without a 404 though :frowning. Been a bit of a nightmare due to different build structure from www/lib I am using.

i deleted the user from apps.ionic.io .that why this problem is coming. I just clear the cache of my app now from settings. Now it start working.

Thanks dev18,

That sorted the 404 issue!!! really appreciate your help. Onto the next issue now!

1 Like

dev18,
I am having the same issue. I deleted user from apps.ionic.io and getting 404 error. How did you clear the cache? I couldn’t find any option to clear the cache on apps.ionic.io website.
Thanks.

cache of your mobile app.
go to setting > Application manager > fing your app name and clear the cache

Hi, I have the same problem. I try with Firefox and Chrome to delete navigations data, cookies, ecc. But this don’t resolve the problem.

EDIT
I try to:

  1. re-open all browser
  2. reboot my machine
  3. re-upload my app in ionic.io with cli command

Any idea? Thanks!