Error uploading ionic app

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 

  1. Log in at apps.ionic.io
  2. Create a new app and give it the name of your app
  3. Copy the app id
  4. In your terminal window use command

    ionic link copied-app-id

  5. In your terminal window use command

    ionic upload

(ensure you're logged into the same acccount in the terminal window that you were logged into in app.ionic.io)

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

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