ionic-team/ionic-v3

HTTP Error 503: POST https://res.ionic.io/api/v1/upload

afficionaddo opened this issue · 1 comments

I'm submitting a ... (check one with "x")
[ x ] bug report
[ ] feature request

Current behavior:
On Platform add, the resources command is run at the end. It is giving 503 error when it tries to upload resources for transformations.

HTTP Error 503: POST https://res.ionic.io/api/v1/upload

Expected behavior:
The resources command should work fine like before. My resource files are same from last 2 years but recently I think from last week or week before that, this command has started giving me error.

Steps to reproduce:
ionic cordova platform rm android
ionic cordova platform add android
When 'ionic cordova android resources --force' runs, it gives an error.

Related code:

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

![image](https://user-images.githubusercontent.com/20191900/78550918-e8c0ac00-77d2-11ea-8ed9-7c9b3bb74e35.png)

It doesn't work anymore, you need to use this: https://github.com/ionic-team/cordova-res , with the latest ionic cli.

A quick fix is to use these commands, with --no-resources flag:

ionic cordova platform add ios --no-resources
ionic cordova platform add android --no-resources