I have a python script that runs every day and has been working for the past month or so. Suddenly today it has stopped working and I get an error that says:
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid. ERROR 000732: Input Rows: Dataset https://url/server/rest/services/Hosted/CitizenProblems/FeatureServer/0 does not exist or is not supported
Failed to execute (TableToTable).
The function I am running is below. The recentInspections variable is the link shown in the error that points to my hosted feature layer and the out_path is a link to a file gdb. I confirmed the feature layer does still exist and is working correctly so I am confused why this suddenly stopped working. Any Ideas?
arcpy.conversion.TableToTable(recentInspections, out_path, "RecentInspectionsTable")
Thanks!