AnsweredAssumed Answered

Why can't I save a JSON locally with the arcgis python api

Question asked by ANS_pim on Jun 2, 2017
Latest reply on Jun 2, 2017 by ANS_pim

Really strange behaviour. When I create a replica of a file and set as data-format 'filegdb':

replica1 = flc.replicas.create(replica_name = "test", layers='0', data_format='filegdb', out_path='/Users/username/Desktop')

I get:



and file appears on Desktop.
However, when I change data_format to 'json' or when I delete the line (since JSON is default) the result is:



{'transportType': 'esriTransportTypeUrl', 'URL': ''}

And no file appears on Desktop. What can go wrong here? I use the default and follow: Checking out data from feature layers using replicas | ArcGIS for Developers 


Extract and Sync are on, I check that beforehand.