I've encountered a problem with some scripts that used to work but are now no longer functioning. I was using arcpy to update the fields to a hosted feature layer stored on the server my company uses for gis. All of a sudden, today when I go to run the script it gives a runtime error and says that it cannot open the layer I'm updating. To try and troubleshoot what happened, I decided to print the list of feature classes in storage location but the list returned says "None". I then tried running another script that is utilizing a different hosted feature layer but that script failed in the same way. Is this a problem with my computer or the server? Like I said, all these scripts were working yesterday and I came in this morning and they're acting broken.
import arcpy
#access the DMA layer
arcpy.env.workspace = <server URL>
arcpy.env.overwriteOutput = True
#this is how I found the name of the feature class as it was stored online
tables = arcpy.ListFeatureClasses()
print(tables)
This is the code that is giving me trouble.