35

Background:

  • This app was originally uploaded to my personal ionic account
  • The app was deleted from my personal ionic account
  • This error happens when I try to upload the app with my work ionic account

My question is, how do I get the app to upload to my work account?

$ ionic upload

Uploading app...
 ✗ App ID ae440d8c does not exist




Unable to upload app (CLI v1.4.5)

Your system information:

Cordova CLI: 4.3.0
Ionic Version: 1.0.0-rc.2
Ionic CLI Version: 1.4.5
Ionic App Lib Version: 0.0.22
ios-deploy version: Not installed
ios-sim version: 3.1.1 
OS: Mac OS X Yosemite
Node Version: v0.12.1
Xcode version: Xcode 6.3.1 Build version 6D1002 
Jacksonkr
  • 31,583
  • 39
  • 180
  • 284

11 Answers11

86
  1. Log in at apps.ionic.io
  2. Create a new App and specify the name of your App.
  3. Copy the App ID to your clipboard for use in the next step.
  4. In your terminal window ensure you're logged into the same account that you were logged into on app.ionic.io).
  5. In your terminal window use command:

    ionic link <copied-app-id>

    Where <copied-app-id> is your own App ID copied to your clipboard in step 3.

  6. In your terminal window use command:

    ionic upload

strttn
  • 2,320
  • 1
  • 18
  • 17
22

Get it solved with Chirag thaker's suggestion:

  1. Open ionic.project.json (if not exist find ionic.config.json) file
  2. Set appId to blank (delete the existing appId)
  3. run ionic upload again
bora.oren
  • 3,439
  • 3
  • 33
  • 31
HakuteiJ
  • 557
  • 4
  • 12
6

I think this is because, your keys are now miss matching, so try

  • Create a new app in (ionic.io)
  • Get the app key and public key
  • Add those to your existing app in

    app.js / .config section

     $ionicAppProvider.identify({
        app_id: 'APP_ID',
        api_key: 'PUBLIC_KEY',
        //gcm_id: 'YOUR_GCM_ID'
      });
    
  • try uploading again

sameera207
  • 16,547
  • 19
  • 87
  • 152
4

In folder root project run:

ionic io init

https://docs.ionic.io/setup.html

ndaniel8a
  • 96
  • 5
1

Even after reading everything it still looked confusing to me so re-producing here solution again so others can easily resolve it.

Here are the steps:

  1. Login https://apps.ionic.io/apps and Create new App.
  2. Replace your current App ID in your ionic.config.json file against app_id with the help of below screenshot.enter image description here
  3. Now run ionic upload, and you should no more see the error :)
Imran Zahoor
  • 2,521
  • 1
  • 28
  • 38
0

I've had the same problem.. Sameera207 is almost correct but not quite for my case. ( I don't believe Ionic even looks in your angular JS files )

I think this is because, your ID does not yet exist in apps.ionic.io, so try

  • Create a new app in (ionic.io)
  • Get the app ID
  • replace the app IP to your existing app in

ionic.project file

{
  "name": "YOUR_APP_NAME",
  "app_id": "YOUR_APP_ID"
}
  • try uploading again
Brady Liles
  • 713
  • 7
  • 13
0

Also note, that sometimes ( not sure why and when ) the following command:

ionic package build android --release 

is truncating the file:

.io-config.json

Making it empty, so it also prevent you from uploading your app again.

Ricky Levi
  • 7,298
  • 1
  • 57
  • 65
0

i just delete my ionic.project file and re-run ionic upload

od3n
  • 314
  • 1
  • 6
  • 18
0

To resolve

  1. login to to you ionic.io and create an app in https://apps.ionic.io/apps
  2. Copy the new App Id
  3. On you development system, go to your project folder and edit ionic.config.json. Update the "app_id" to new id that you copied in step 2. Save file.
  4. From your ionic project run the command: ionic upload.
Pankaj Bhagat
  • 197
  • 3
  • 7
-1

You can reset the io-app-id with the following command then try uploading your app again

ionic link --reset
ionic upload
umefarooq
  • 4,540
  • 1
  • 29
  • 38
Osei Fortune
  • 831
  • 6
  • 12
-1

Remove .io-config.json from the build root; run ionic io init; then try to upload again.

bfontaine
  • 18,169
  • 13
  • 73
  • 107
Bunjl
  • 1