I'm hoping to create a Jupyter Notebook that I can schedule to notify me if there are any broken feature service links in my web maps.
Originally I was going to combine two Esri sample scripts, one to detect the broken links and one to send an email notification.
Unfortunately the Esri sample script to detect broken links doesn't work because the error message if a layer number has changed or if the service has been deleted isn't in the response header. Curious whether anyone has already written a script to do something similar and look at the body of the response to determine if the feature service is working.