Pulling table from Hosted Feature Layer into locad GDB

205
1
06-22-2022 08:29 AM
MatthewAttiyeh1
New Contributor II

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!

0 Kudos
1 Reply
Clubdebambos
Occasional Contributor III

Hi @MatthewAttiyeh1 

Did you get this to work in the end? If not, can you post the full code for better assessment?, and if so, can you post the solution in case other users have the same issue and looking for a resolution?

Cheers

~ learn.finaldraftmapping.com
0 Kudos