I've created a web map and web application using Developer WAB, when I swapped layers using the Admin Tools (find/replace layers using url), the web app broke (See image below for web app and console error). However the web map still works when launched independently.
The only workaround I have found is to make a copy of the map and switch the web map id in the application. However this is not ideal as we would have to do this everytime we need to swap layers.
Has anyone experienced anything similar and found a fix?
The only widgets referencing those services are the layer list and legend, both of which continued to work after the swap. It appears as though this problem just happened to occur around the same time I swapped the services and I attributed it to this swap, but perhaps it is due to something else.
You best bet is to open a support case with tech support then.