I am using model builder to update a web layer. For this I use the script to publish and overwrite web layers that was shared Jonah Lay to (see Jonah article here: https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/publish-and-overwrite-web-layers-in-mod...).
In my model, the tool works perfectly (see a part on my model in ModelUpdate).
Issue is: Once on AGOL I can not add the layer to any web map. A error message indicates "Unable to establish a secure HTTPS connection to the layer" (see ErrorMapViewer).
Where does this issue come from and what could I do?
Thank you in advance