<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic The workspace Work.gdb does not exist. Failed to execute (JSONToFeatures). in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1096896#M62322</link>
    <description>&lt;P&gt;I am going over this ESRI training:&amp;nbsp;&lt;A href="https://learn.arcgis.com/en/projects/update-real-time-data-with-python/" target="_blank"&gt;https://learn.arcgis.com/en/projects/update-real-time-data-with-python/&lt;/A&gt;&amp;nbsp;, I get stuck on step 17 in the "Create stand-alone script" section. There is a similar post available online (&lt;A href="https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1080002" target="_blank"&gt;https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1080002&lt;/A&gt;&amp;nbsp;), but I couldn't figure out an answer since I am fairly new to python scripting.&lt;/P&gt;&lt;P&gt;Any help would be appreciated, thank you.&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import sys, arcpy, os, tempfile, json
from urllib import request

def feedRoutine (url, workGDB):
    # workGDB and default workspace
    print("Creating workGDB...")
    arcpy.env.workspace =  workGDB
    arcpy.management.CreateFileGDB(os.path.dirname(workGDB) , os.path.basename(workGDB))
    
# Download and split json file
    print("Downloading data...")
    temp_dir = tempfile.mkdtemp()
    filename = os.path.join(temp_dir, 'latest_data.json')
    response = request.urlretrieve(url, filename)
    with open(filename) as json_file:
        data_raw = json.load(json_file)
        data_stations = dict(type=data_raw['type'], features=[])
        data_areas = dict(type=data_raw['type'], features=[])
    for feat in data_raw['features']:
        if feat['geometry']['type'] == 'Point':
            data_stations['features'].append(feat)
        else:
            data_areas['features'].append(feat)
    # Filenames of temp json files
    stations_json_path = os.path.join(temp_dir, 'points.json')
    areas_json_path = os.path.join(temp_dir, 'polygons.json')
    # Save dictionaries into json files
    with open(stations_json_path, 'w') as point_json_file:
        json.dump(data_stations, point_json_file, indent=4)
    with open(areas_json_path, 'w') as poly_json_file:
        json.dump(data_areas, poly_json_file, indent=4)
    # Convert json files to features
    print("Creating feature classes...")
    arcpy.conversion.JSONToFeatures(stations_json_path, 'alert_stations') 
    arcpy.conversion.JSONToFeatures(areas_json_path, 'alert_areas')
    # Add 'alert_level ' field
    arcpy.management.AddField('alert_stations', 'alert_level', 'SHORT', field_alias='Alert Level')
    arcpy.management.AddField('alert_areas', 'alert_level', 'SHORT', field_alias='Alert Level')
    # Calculate 'alert_level ' field
    arcpy.management.CalculateField('alert_stations', 'alert_level', "int(!alert!)")
    arcpy.management.CalculateField('alert_areas', 'alert_level', "int(!alert!)")

    # Deployment Logic
    print("Deploying...")
    deployLogic()

    # Return
    print("Done!")
    return True

def deployLogic():
    pass
    
if __name__ == "__main__":
        [url, workGDB] = sys.argv[1:]
        feedRoutine (url, workGDB)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This is the error code:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;(arcgispro-py3-user) C:\training&amp;gt;python coral_reef_exercise.py https://coralreefwatch.noaa.gov/product/vs/vs_polygons.json C:\Temp\Work.gdb
Creating workGDB...
Downloading data...
Creating feature classes...
Traceback (most recent call last):
  File "coral_reef_exercise.py", line 56, in &amp;lt;module&amp;gt;
    feedRoutine (url, workGDB)
  File "coral_reef_exercise.py", line 34, in feedRoutine
    arcpy.conversion.JSONToFeatures(stations_json_path, 'alert_stations')
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\conversion.py", line 576, in JSONToFeatures
    raise e
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\conversion.py", line 573, in JSONToFeatures
    retval = convertArcObjectToPythonObject(gp.JSONToFeatures_conversion(*gp_fixargs((in_json_file, out_features, geometry_type), True)))
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in &amp;lt;lambda&amp;gt;
    return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.
CreateFeatureClassName: The workspace  does not exist.
Failed to execute (JSONToFeatures).&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 09 Sep 2021 18:57:26 GMT</pubDate>
    <dc:creator>ErikGarcia1</dc:creator>
    <dc:date>2021-09-09T18:57:26Z</dc:date>
    <item>
      <title>The workspace Work.gdb does not exist. Failed to execute (JSONToFeatures).</title>
      <link>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1096896#M62322</link>
      <description>&lt;P&gt;I am going over this ESRI training:&amp;nbsp;&lt;A href="https://learn.arcgis.com/en/projects/update-real-time-data-with-python/" target="_blank"&gt;https://learn.arcgis.com/en/projects/update-real-time-data-with-python/&lt;/A&gt;&amp;nbsp;, I get stuck on step 17 in the "Create stand-alone script" section. There is a similar post available online (&lt;A href="https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1080002" target="_blank"&gt;https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1080002&lt;/A&gt;&amp;nbsp;), but I couldn't figure out an answer since I am fairly new to python scripting.&lt;/P&gt;&lt;P&gt;Any help would be appreciated, thank you.&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import sys, arcpy, os, tempfile, json
from urllib import request

def feedRoutine (url, workGDB):
    # workGDB and default workspace
    print("Creating workGDB...")
    arcpy.env.workspace =  workGDB
    arcpy.management.CreateFileGDB(os.path.dirname(workGDB) , os.path.basename(workGDB))
    
# Download and split json file
    print("Downloading data...")
    temp_dir = tempfile.mkdtemp()
    filename = os.path.join(temp_dir, 'latest_data.json')
    response = request.urlretrieve(url, filename)
    with open(filename) as json_file:
        data_raw = json.load(json_file)
        data_stations = dict(type=data_raw['type'], features=[])
        data_areas = dict(type=data_raw['type'], features=[])
    for feat in data_raw['features']:
        if feat['geometry']['type'] == 'Point':
            data_stations['features'].append(feat)
        else:
            data_areas['features'].append(feat)
    # Filenames of temp json files
    stations_json_path = os.path.join(temp_dir, 'points.json')
    areas_json_path = os.path.join(temp_dir, 'polygons.json')
    # Save dictionaries into json files
    with open(stations_json_path, 'w') as point_json_file:
        json.dump(data_stations, point_json_file, indent=4)
    with open(areas_json_path, 'w') as poly_json_file:
        json.dump(data_areas, poly_json_file, indent=4)
    # Convert json files to features
    print("Creating feature classes...")
    arcpy.conversion.JSONToFeatures(stations_json_path, 'alert_stations') 
    arcpy.conversion.JSONToFeatures(areas_json_path, 'alert_areas')
    # Add 'alert_level ' field
    arcpy.management.AddField('alert_stations', 'alert_level', 'SHORT', field_alias='Alert Level')
    arcpy.management.AddField('alert_areas', 'alert_level', 'SHORT', field_alias='Alert Level')
    # Calculate 'alert_level ' field
    arcpy.management.CalculateField('alert_stations', 'alert_level', "int(!alert!)")
    arcpy.management.CalculateField('alert_areas', 'alert_level', "int(!alert!)")

    # Deployment Logic
    print("Deploying...")
    deployLogic()

    # Return
    print("Done!")
    return True

def deployLogic():
    pass
    
if __name__ == "__main__":
        [url, workGDB] = sys.argv[1:]
        feedRoutine (url, workGDB)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This is the error code:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;(arcgispro-py3-user) C:\training&amp;gt;python coral_reef_exercise.py https://coralreefwatch.noaa.gov/product/vs/vs_polygons.json C:\Temp\Work.gdb
Creating workGDB...
Downloading data...
Creating feature classes...
Traceback (most recent call last):
  File "coral_reef_exercise.py", line 56, in &amp;lt;module&amp;gt;
    feedRoutine (url, workGDB)
  File "coral_reef_exercise.py", line 34, in feedRoutine
    arcpy.conversion.JSONToFeatures(stations_json_path, 'alert_stations')
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\conversion.py", line 576, in JSONToFeatures
    raise e
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\conversion.py", line 573, in JSONToFeatures
    retval = convertArcObjectToPythonObject(gp.JSONToFeatures_conversion(*gp_fixargs((in_json_file, out_features, geometry_type), True)))
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in &amp;lt;lambda&amp;gt;
    return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.
CreateFeatureClassName: The workspace  does not exist.
Failed to execute (JSONToFeatures).&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 Sep 2021 18:57:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1096896#M62322</guid>
      <dc:creator>ErikGarcia1</dc:creator>
      <dc:date>2021-09-09T18:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: The workspace Work.gdb does not exist. Failed to execute (JSONToFeatures).</title>
      <link>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1096917#M62325</link>
      <description>&lt;P&gt;If you just ran that script, it will compile then run lines 55 and 56, hence, it needs values for this&lt;/P&gt;&lt;P&gt;sys.argv[1:] is the url and the workGDB since sys.argv[0] is the actual script that is running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[url, workGDB] = sys.argv[1:]&lt;BR /&gt;feedRoutine (url, workGDB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then it runs the feedRoutine function with the values provided.&lt;/P&gt;&lt;P&gt;So in short you need a url and the full path to a workspace geodatabase pasted before the second line (comment out the line 55) to&amp;nbsp; replacing those values before the feedRoutine is called&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 19:42:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1096917#M62325</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-09-09T19:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: The workspace Work.gdb does not exist. Failed to execute (JSONToFeatures).</title>
      <link>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1096984#M62327</link>
      <description>&lt;P&gt;Dan thanks for replying,&lt;/P&gt;&lt;P&gt;I am using this python command on the Python Command Prompt to include that information:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;python coral_reef_exercise.py https://coralreefwatch.noaa.gov/product/vs/vs_polygons.json C:\Temp\Work.gdb&lt;/LI-CODE&gt;&lt;P&gt;After using this my script runs fine but I run into that error.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 21:17:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1096984#M62327</guid>
      <dc:creator>ErikGarcia1</dc:creator>
      <dc:date>2021-09-09T21:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: The workspace Work.gdb does not exist. Failed to execute (JSONToFeatures).</title>
      <link>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1097031#M62330</link>
      <description>&lt;P&gt;I don't use that approach, preferring to just put the parameters on your line 55&lt;/P&gt;&lt;LI-CODE lang="python"&gt;if __name__ == "__main__":
        url, workGDB = "http:// ....", "c:/temp/your.gdb"
        feedRoutine(url, workGDB)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 Sep 2021 22:26:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1097031#M62330</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-09-09T22:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: The workspace Work.gdb does not exist. Failed to execute (JSONToFeatures).</title>
      <link>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1097175#M62335</link>
      <description>&lt;P&gt;Thanks again for helping out Dan! So I updated that part of my script and still got that Failed to execute (JSONToFeatures) error. Here is the updated script with those edits:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import sys, arcpy, os, tempfile, json
from urllib import request

def feedRoutine (url, workGDB):
    # workGDB and default workspace
    print("Creating workGDB...")
    arcpy.env.workspace =  workGDB
    arcpy.management.CreateFileGDB(os.path.dirname(workGDB) , os.path.basename(workGDB))
    
# Download and split json file
    print("Downloading data...")
    temp_dir = tempfile.mkdtemp()
    filename = os.path.join(temp_dir, 'latest_data.json')
    response = request.urlretrieve(url, filename)
    with open(filename) as json_file:
        data_raw = json.load(json_file)
        data_stations = dict(type=data_raw['type'], features=[])
        data_areas = dict(type=data_raw['type'], features=[])
    for feat in data_raw['features']:
        if feat['geometry']['type'] == 'Point':
            data_stations['features'].append(feat)
        else:
            data_areas['features'].append(feat)
    # Filenames of temp json files
    stations_json_path = os.path.join(temp_dir, 'points.json')
    areas_json_path = os.path.join(temp_dir, 'polygons.json')
    # Save dictionaries into json files
    with open(stations_json_path, 'w') as point_json_file:
        json.dump(data_stations, point_json_file, indent=4)
    with open(areas_json_path, 'w') as poly_json_file:
        json.dump(data_areas, poly_json_file, indent=4)
    # Convert json files to features
    print("Creating feature classes...")
    arcpy.conversion.JSONToFeatures(stations_json_path, 'alert_stations') 
    arcpy.conversion.JSONToFeatures(areas_json_path, 'alert_areas')
    # Add 'alert_level ' field
    arcpy.management.AddField('alert_stations', 'alert_level', 'SHORT', field_alias='Alert Level')
    arcpy.management.AddField('alert_areas', 'alert_level', 'SHORT', field_alias='Alert Level')
    # Calculate 'alert_level ' field
    arcpy.management.CalculateField('alert_stations', 'alert_level', "int(!alert!)")
    arcpy.management.CalculateField('alert_areas', 'alert_level', "int(!alert!)")

    # Deployment Logic
    print("Deploying...")
    deployLogic()

    # Return
    print("Done!")
    return True

def deployLogic():
    pass
    
if __name__ == "__main__":
        [url, workGDB] = "https://coralreefwatch.noaa.gov/product/vs/vs_polygons.json", "C:\Temp\work.gdb"
        feedRoutine (url, workGDB)&lt;/LI-CODE&gt;&lt;P&gt;Here is the Error:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;(arcgispro-py3-user) C:\training&amp;gt;python coral_reef_exercise.py
Creating workGDB...
Downloading data...
Creating feature classes...
Traceback (most recent call last):
  File "coral_reef_exercise.py", line 56, in &amp;lt;module&amp;gt;
    feedRoutine (url, workGDB)
  File "coral_reef_exercise.py", line 34, in feedRoutine
    arcpy.conversion.JSONToFeatures(stations_json_path, 'alert_stations')
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\conversion.py", line 576, in JSONToFeatures
    raise e
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\conversion.py", line 573, in JSONToFeatures
    retval = convertArcObjectToPythonObject(gp.JSONToFeatures_conversion(*gp_fixargs((in_json_file, out_features, geometry_type), True)))
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in &amp;lt;lambda&amp;gt;
    return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.
CreateFeatureClassName: The workspace  does not exist.
Failed to execute (JSONToFeatures).&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 13:44:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1097175#M62335</guid>
      <dc:creator>ErikGarcia1</dc:creator>
      <dc:date>2021-09-10T13:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: The workspace Work.gdb does not exist. Failed to execute (JSONToFeatures).</title>
      <link>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1097388#M62349</link>
      <description>&lt;P&gt;"C:\Temp\work.gdb"&lt;/P&gt;&lt;P&gt;If that exists, then I don't know.&amp;nbsp; nothing pops out immediately but I avoid the web stuff.&amp;nbsp; Someone else should have leapt in by now, but if not, you might want to contact tech support&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 22:38:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1097388#M62349</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-09-10T22:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: The workspace Work.gdb does not exist. Failed to execute (JSONToFeatures).</title>
      <link>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1099257#M62439</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/503796"&gt;@ErikGarcia1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I had to do one line modification to feedRoutine function:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;def&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;feedRoutine&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN&gt;url&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;workGDB) :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;#&amp;nbsp;workGDB&amp;nbsp;and&amp;nbsp;default&amp;nbsp;workspace&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"Creating&amp;nbsp;workGDB..."&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;env&lt;/SPAN&gt;&lt;SPAN&gt;.workspace&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;workGDB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;env&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;overwriteOutput&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;True #incase the gdb file is already created&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;SPAN&gt;.management.&lt;/SPAN&gt;&lt;SPAN&gt;CreateFileGDB(&lt;/SPAN&gt;&lt;SPAN&gt;os&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;path&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;dirname&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;workGDB&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;nbsp;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;os&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;path&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;basename&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;workGDB&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;that's the run log&lt;/P&gt;&lt;PRE&gt;Creating workGDB...&lt;BR /&gt;Downloading data...&lt;BR /&gt;Creating feature classes...&lt;BR /&gt;Deploying...&lt;BR /&gt;Done!&lt;/PRE&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Ihab&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 05:23:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1099257#M62439</guid>
      <dc:creator>IhabHassan</dc:creator>
      <dc:date>2021-09-17T05:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: The workspace Work.gdb does not exist. Failed to execute (JSONToFeatures).</title>
      <link>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1099333#M62444</link>
      <description>&lt;P&gt;Hello Ihab,&lt;/P&gt;&lt;P&gt;I tried your line modification, but I am still getting the same result. I am currently working with support for an answer and I will try to post it here if successful.&lt;/P&gt;&lt;P&gt;Thank you for the help,&lt;/P&gt;&lt;P&gt;Erik Garcia&lt;/P&gt;&lt;P&gt;Erik&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2021 13:18:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/the-workspace-work-gdb-does-not-exist-failed-to/m-p/1099333#M62444</guid>
      <dc:creator>ErikGarcia1</dc:creator>
      <dc:date>2021-09-17T13:18:59Z</dc:date>
    </item>
  </channel>
</rss>

