Ionic resources returns 410 (gone) error?

I just installed a brand new project, and I want to do

ionic cordova resources

Then, after typing my credentials, is this answer :

Request: POST https://api.ionic.io/login
Response: 410
Body:
{}

Has someone got this problem ?

EDIT : problem solved (CLI was just out of date)

I have the same problem, any idea about what’s happening? it’s appear after log into my ionic account because it is necessary to execute the command “ionic cordova resources”.

ionic info:

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:
cordova (Cordova CLI) : 7.0.1

local packages:
@ionic/app-scripts : 3.1.0
Cordova Platforms : android 6.2.3
Ionic Framework : ionic-angular 3.9.2

System:
Android SDK Tools : 26.0.2
Node : v7.10.1
npm : 4.2.0
OS : Linux 4.8

Thanks in advance

try this “ionic config set backend pro -g”

9 Likes

“ionic config set backend pro -g” not worked for me, has someone got this problem? how to solve it? Thanks in advance.
my ionic info:

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 7.0.1
Gulp CLI              : CLI version 3.9.1 Local version 3.9.1

local packages:

Cordova Platforms : android 6.2.3
Ionic Framework   : ionic1 1.0.0-rc.4

System:

Node : v6.10.2
npm  : 3.10.10
OS   : Windows 10

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : legacy
1 Like

Run the following commands:

ionic config set backend pro -g
ionic login <email id> <password>
ionic cordova resources

It’s worked for me

16 Likes

It’s worked for me. Thanks for the help.

Thanks man!!!
It’s worked fine…

great it worked thanks a ton

Thank you, worked out for me too

Did not work. The same error here.

MacBooks-MacBook-Pro:calibra-app macbook$ ionic cordova resources android
âś” Collecting resource configuration and source images - done!
âś” Filtering out image resources that do not need regeneration - done!
Request: POST https://res.ionic.io/api/v1/upload
Response: 410
Body: 
{}

the resources server was shut down long ago, the CLI is now able to do the image generation locally, you just need to update ionic CLI

npm uninstall -g ionic
npm install -g @ionic/cli