I updated a hosted feature layer to update a Web App and it lost all layers. I opened the Feature layer on ArcGIS Pro, removed old layer and added a new updated layer. I shared the layer by overwriting the existing Feature layer (Share as Web Layer). I found that all the layers in the feature layer were removed and only the one I added was loaded.
I tried to restore the layers to the Hosted Feature layer but when I tried to publish on ArcGIS Pro I got an error "Layer's source not supported" and "there is no layer required to publish Web layer".
Please help me understand if what I did is the correct way of updating layers for a Web App.
Thank you