Select to view content in your preferred language

Pulling table from Hosted Feature Layer into locad GDB

297
1
06-22-2022 08:29 AM
MatthewAttiyeh1
Occasional Contributor

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
Frequent Contributor

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