Ionic deploy is downloading the wrong app

I have two apps using ionic deploy. However app A always downloads the latest deploy for app B. The app ids in both .io-config.json and ionic.config.json are correct for app A. The widget ids are different. What the heck is going on? Is there some other place an app ID is stored that somehow got crossed?

Did you search all project code for the “wrong” app ID?

(In the old Ionic Deploy client versions it was also put into some JS files directly, so only replacing the IDs in the files you mentioned manually wasn’t enough. Solution was to use the CLI to replace the IDs. Don’t know about the current version though. Sorry.)