Constant 503 errors from resources

ionic cordova resources
ionic cordova platform add ios

Always goes like this:

Collecting resource configuration and source images - done!
Filtering out image resources that do not need regeneration - done!
Uploading source images to prepare for transformations - failed!
HTTP Error 503: POST

Or occasionally, it gets past this and to transform service, then still 503

Been trying for hours now. Is there some issue with the resources server or am I doing something wrong?


Does it work with a newly create project with ionic start?

If not: Report the problem at please.

Same issue here and others are getting it on this ticket.

Same problem on brand new project. I have reported it as you suggested.

Here’s a full error output if it helps :slight_smile:

Error: encountered bad status code (503) for
body: <!DOCTYPE html>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta charset="utf-8">
		<title>Application Error</title>
		<style media="screen">
		  html,body,iframe {
			margin: 0;
			padding: 0;
		  html,body {
			height: 100%;
			overflow: hidden;
		  iframe {
			width: 100%;
			height: 100%;
			border: 0;
		<iframe src="//"></iframe>
    at Response.res.on (/Users/PROJECT-DIR/node_modules/@ionic/cli-utils/lib/cordova/resources.js:148:32)
    at emitNone (events.js:86:13)
    at Response.emit (events.js:185:7)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Not really as this is the default Heroku error message - but the only people that could do anything about it are the Ionic team which you can only reach by using the support route - they are not very active here in the forum.

Ah no problem I’ll go submit a bug report :slight_smile:

I have same problem!

It was back for me for a moment there…

and the CLI looked like it was working again, but looks like it’s fell over again :frowning:

1 Like

Awww boooo!! Hoping some wizard at Ionic fixes it soon, sat here being unable to work :frowning:


The whole concept of using a webservice to resize your resource images is reasonably sound in terms of keeping the service up to date… but surely it’s more sustainable (for ionic the company ) to use some kind of npm local app to do it?

Starting to feel a little uncertain about their cloud provision stuff in the light of the ionic push rug being pulled from under people’s feet… and now basic infrastructure going wobbly :frowning:

1 Like

Working perfectly now :+1:


i have the same problem now

I have to run “ionic cordova resources ios” 4 times.
Don’t know why.
Generating platform resources: 8 / 32 complete - failed!
Generating platform resources: 12 / 32 complete - failed!
Generating platform resources: 17 / 32 complete - failed!
:heavy_check_mark: Generating platform resources: 32 / 32 complete - done!

Use steps from support page:

npm uninstall -g ionic
npm install -g @ionic/cli
npm install -g cordova-res
ionic cordova resources

Sir can you tell me how to fix above error I have got same error?

Are u fixed above issue after install above plugin?

Yes, use cordova-res, ionic doesn’t use the server based resource service anymore…


Sir I have fixed above issue via below command.
npm i -g ionic@latest

Worked for me.
Thank you