<?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 Re: WebMap to Map functionality is broken in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1632780#M1594</link>
    <description>&lt;P&gt;I got a notification that this bug has been fixed in Python 2.4.2. I have tested it out in an AGOL Notebook v12.0 and the same script that was failing before is now working.&lt;/P&gt;&lt;P&gt;Email from Esri:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Updates have been made to the following defect which you are associated with:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;BUG-000177131&lt;/STRONG&gt; - Enabling labelling within a web map causes validation errors when utilising the arcgis.map submodule in ArcGIS API for Python 2.4.x.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Status:&lt;/STRONG&gt; Fixed (&lt;A href="https://support.esri.com/en/Bug-Enhancement-Status" target="_blank"&gt;Learn More&lt;/A&gt;) &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Version Fixed:&lt;/STRONG&gt; &amp;nbsp;2.4.2&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jul 2025 10:30:00 GMT</pubDate>
    <dc:creator>DebSF</dc:creator>
    <dc:date>2025-07-14T10:30:00Z</dc:date>
    <item>
      <title>WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1562685#M1509</link>
      <description>&lt;P&gt;I have to change my script for downloading feature layers from webmaps from AGOL due to the most recent update in September 2024 which changed the arcgis.mapping and arcgis.widgets into a new arcgis.map module. As a result it also changed the function WebMap() to Map() and this is where my error lies.&lt;/P&gt;&lt;P&gt;I am following the steps in &lt;A title="working-with-web-maps-and-web-scenes" href="https://developers.arcgis.com/python/latest/guide/working-with-web-maps-and-web-scenes/" target="_self"&gt;this link&lt;/A&gt;&amp;nbsp;and &lt;A href="https://developers.arcgis.com/python/latest/guide/overview24/#refactor-arcgismapping-module?aduc=PublicRelations&amp;amp;sf_id=7015x000000vfizAAA&amp;amp;aduco=sept-2024-release-blog&amp;amp;aduca=MIArcGISAPIForPythonDeveloper&amp;amp;utm_id=7015x000000vfizAAA&amp;amp;adum=Blog&amp;amp;utm_campaign=MIArcGISAPIForPythonDeveloper&amp;amp;utm_source=PublicRelations&amp;amp;utm_medium=Blog&amp;amp;utm_content=sept-2024-release-blog" target="_self"&gt;this link&lt;/A&gt;&amp;nbsp;but neither are working. I have tried to search for my webmap by name and by id and input it to the new functionality of Map(item=my_result) but everytime I do, I get a huge result of errors. I can post the entire file is needed. Can anyone help with what I am doing wrong or what the new methodology is please?&lt;/P&gt;&lt;P&gt;pydantic_core._pydantic_core.ValidationError: 568 validation errors for Webmap&lt;/P&gt;&lt;P&gt;Here is some of the outputs for the error list, the list goes on for 1715 lines.&lt;/P&gt;&lt;P&gt;webmapobj = Map(item=wm_result1)&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\map\map_widget.py", line 254, in __init__&lt;BR /&gt;self._setup_webmap_properties(item)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\map\map_widget.py", line 402, in _setup_webmap_properties&lt;BR /&gt;self._webmap = ws.Webmap(**data)&lt;BR /&gt;^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\pydantic\main.py", line 164, in __init__&lt;BR /&gt;__pydantic_self__.__pydantic_validator__.validate_python(data, self_instance=__pydantic_self__)&lt;BR /&gt;pydantic_core._pydantic_core.ValidationError: 568 validation errors for Webmap&lt;BR /&gt;operationalLayers.1.AnnotationLayerArcGISAnnotationLayer.layerDefinition.drawingInfo.renderer&lt;BR /&gt;Field required [type=missing, input_value={'labelingInfo': [{'label...fset': 0, 'angle': 0}}]}, input_type=dict]&lt;BR /&gt;For further information visit &lt;A href="https://errors.pydantic.dev/2.4/v/missing" target="_blank" rel="noopener"&gt;https://errors.pydantic.dev/2.4/v/missing&lt;/A&gt;&lt;BR /&gt;operationalLayers.1.AnnotationLayerArcGISAnnotationLayer.layerType&lt;BR /&gt;Input should be 'ArcGISAnnotationLayer' [type=literal_error, input_value='ArcGISFeatureLayer', input_type=str]&lt;BR /&gt;For further information visit &lt;A href="https://errors.pydantic.dev/2.4/v/literal_error" target="_blank" rel="noopener"&gt;https://errors.pydantic.dev/2.4/v/literal_error&lt;/A&gt;&lt;BR /&gt;operationalLayers.1.CatalogLayerCatalogLayer.layerDefinition.drawingInfo.renderer&lt;BR /&gt;Field required [type=missing, input_value={'labelingInfo': [{'label...fset': 0, 'angle': 0}}]}, input_type=dict]&lt;BR /&gt;For further information visit &lt;A href="https://errors.pydantic.dev/2.4/v/missing" target="_blank" rel="noopener"&gt;https://errors.pydantic.dev/2.4/v/missing&lt;/A&gt;&lt;BR /&gt;operationalLayers.1.CatalogLayerCatalogLayer.layerType&lt;BR /&gt;Input should be 'CatalogLayer' [type=literal_error, input_value='ArcGISFeatureLayer', input_type=str]&lt;BR /&gt;For further information visit &lt;A href="https://errors.pydantic.dev/2.4/v/literal_error" target="_blank" rel="noopener"&gt;https://errors.pydantic.dev/2.4/v/literal_error&lt;/A&gt;&lt;BR /&gt;operationalLayers.1.CSVLayerCSV.layerDefinition.drawingInfo.renderer&lt;BR /&gt;Field required [type=missing, input_value={'labelingInfo': [{'label...fset': 0, 'angle': 0}}]}, input_type=dict]&lt;BR /&gt;For further information visit &lt;A href="https://errors.pydantic.dev/2.4/v/missing" target="_blank" rel="noopener"&gt;https://errors.pydantic.dev/2.4/v/missing&lt;/A&gt;&lt;BR /&gt;operationalLayers.1.CSVLayerCSV.layerType&lt;BR /&gt;Input should be 'CSV' [type=literal_error, input_value='ArcGISFeatureLayer', input_type=str]&lt;BR /&gt;For further information visit &lt;A href="https://errors.pydantic.dev/2.4/v/literal_error" target="_blank" rel="noopener"&gt;https://errors.pydantic.dev/2.4/v/literal_error&lt;/A&gt;&lt;BR /&gt;operationalLayers.1.DimensionLayerArcGISDimensionLayer.layerDefinition.drawingInfo.renderer&lt;BR /&gt;Field required [type=missing, input_value={'labelingInfo': [{'label...fset': 0, 'angle': 0}}]}, input_type=dict]&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 15:54:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1562685#M1509</guid>
      <dc:creator>OrvilleMcLean</dc:creator>
      <dc:date>2024-11-26T15:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1562718#M1510</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/809867"&gt;@OrvilleMcLean&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I've used the Web Map's JSON before to get the layers/tables.&amp;nbsp; Below is a snippet your could use to download feature services/hosted tables from a web map.&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;import arcpy
from arcgis.gis import GIS

# Variables
username = 'jskinner_rats'
password = '********'
webMapID = '50223959653f40b8bb097bd0fda7994a'
outputGDB = r'C:\temp\python\test.gdb'

# Environment Variables
arcpy.env.overwriteOutput = True

# Connect to AGOL
gis = GIS('https://www.arcgis.com', username, password)
arcpy.SignInToPortal('https://www.arcgis.com', username, password)

# Get feature service and table URLs
operationalLayers = []
operationalTables = []

webMap = gis.content.get(webMapID)
webMapJSON = webMap.get_data(try_json=True)
try:
    for layer in webMapJSON['operationalLayers']:
        if layer['layerType'] == 'GroupLayer':
            for groupLyr in layer['layers']:
                operationalLayers.append(groupLyr['url'])
        else:
            operationalLayers.append(layer['url'])
    for table in webMapJSON['tables']:
        operationalTables.append(table['url'])
except KeyError:
    pass

# Export Feature Services/Tables
if len(operationalLayers) &amp;gt; 0:
    for layer in operationalLayers:
        print(f"Exporting {layer}")
        arcpy.ExportFeatures_conversion(layer, outputGDB + '\\' + layer.split('/')[-3])
if len(operationalTables) &amp;gt; 0:
    for table in operationalTables:
        print(f"Exporting {table}")
        arcpy.ExportTable_conversion(table, outputGDB + '\\' + table.split('/')[-3])
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 26 Nov 2024 17:19:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1562718#M1510</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-11-26T17:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1562750#M1511</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;&amp;nbsp;for that reply but I was hoping to not have to change my original script too much to get it to work. Have you used the new Map function in the arcgis.map package?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 18:24:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1562750#M1511</guid>
      <dc:creator>OrvilleMcLean</dc:creator>
      <dc:date>2024-11-26T18:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1562779#M1512</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/809867"&gt;@OrvilleMcLean&lt;/a&gt;&amp;nbsp;I was able to get the below to work:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;import arcpy
from arcgis.gis import GIS
from arcgis.map import Map


# Variables
username = 'jskinner_rats'
password = '*********'
webMapID = '50223959653f40b8bb097bd0fda7994a'
outputGDB = r'C:\temp\python\test.gdb'

# Environment Variables
arcpy.env.overwriteOutput = True

# Connect to AGOL
gis = GIS('https://www.arcgis.com', username, password)
arcpy.SignInToPortal('https://www.arcgis.com', username, password)

wmItem = gis.content.get(webMapID)
webmap = Map(wmItem)
layers = webmap.content.layers
tables = webmap.content.tables

# Export Feature Services/Tables
if len(layers) &amp;gt; 0:
    for layer in layers:
        print(f"Exporting {layer}")
        arcpy.ExportFeatures_conversion(layer.url, outputGDB + '\\' + layer.url.split('/')[-3])
if len(tables) &amp;gt; 0:
    for table in tables:
        print(f"Exporting {table}")
        arcpy.ExportTable_conversion(table.url, outputGDB + '\\' + table.url.split('/')[-3])&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 26 Nov 2024 19:30:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1562779#M1512</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-11-26T19:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1562806#M1513</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;&amp;nbsp;I have entered my own details into your script but as soon as I run&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;webmap = Map(wmItem)&lt;/PRE&gt;&lt;P&gt;The script breaks and I get the errors I pasted in the original posting. Can you debug those errors as I feel that would be the most helpful.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 20:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1562806#M1513</guid>
      <dc:creator>OrvilleMcLean</dc:creator>
      <dc:date>2024-11-26T20:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1562843#M1514</link>
      <description>&lt;P&gt;1.&amp;nbsp; Does this occur on every web map?&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; What version of the api are you running?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JakeSkinner_0-1732655292297.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/120460iB6A48893F278410A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JakeSkinner_0-1732655292297.png" alt="JakeSkinner_0-1732655292297.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 21:08:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1562843#M1514</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-11-26T21:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1562849#M1515</link>
      <description>&lt;P&gt;1. Yes on every web map. It only started breaking my script as I got a new computer and installed the latest version of everything this month i.e. after the API release in September.&lt;/P&gt;&lt;P&gt;2. 2.4.0&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 21:18:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1562849#M1515</guid>
      <dc:creator>OrvilleMcLean</dc:creator>
      <dc:date>2024-11-26T21:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1563638#M1516</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/809867"&gt;@OrvilleMcLean&lt;/a&gt;&amp;nbsp;are you able to test any other server that has ArcGIS Pro or the ArcGIS API for Python installed?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 13:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1563638#M1516</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-12-02T13:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1565857#M1531</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/809867"&gt;@OrvilleMcLean&lt;/a&gt;&lt;/P&gt;&lt;P&gt;This worked for me.&lt;/P&gt;&lt;P&gt;webmap = Map(webmapitem = wmItem)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 22:09:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1565857#M1531</guid>
      <dc:creator>PriyankaVenkatesaPalanichamy</dc:creator>
      <dc:date>2024-12-06T22:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1567371#M1534</link>
      <description>&lt;P&gt;I am experiencing the same error noted by Orville. I think it is related to the fact that my WebMap has a group layer but this could be a red herring. I have one map that succesfully works with MAP() which has no group layer. But since switching to API 2.4.0 the map with group layer&amp;nbsp; causes the Validation error for WebMap in the pydantic module&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 17:42:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1567371#M1534</guid>
      <dc:creator>MaureenHaining</dc:creator>
      <dc:date>2024-12-11T17:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1567415#M1535</link>
      <description>&lt;P&gt;We're having the same issue with certain webmaps, all the ones we have the issue with are in ArcGIS Online.&lt;/P&gt;&lt;P&gt;Just to try something:&amp;nbsp; I saved a copy of the webmap and then:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Tried the Map() and it failed with validation errors&lt;/LI&gt;&lt;LI&gt;Cleared all the layers out of the copy of the webmap&lt;UL&gt;&lt;LI&gt;Map() worked!&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Added the feature layers back in individually&lt;UL&gt;&lt;LI&gt;Map() worked!&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Turned labels on to start rematching to the original webmap&lt;UL&gt;&lt;LI&gt;Map() failed!&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Deleted labels, and disabled them to get back to no labels in the webmap&lt;UL&gt;&lt;LI&gt;Map() failed!&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Went into the ArcGIS Assistant and deleted the layerDefinition that was still present in each of the feature layers called in the webmap JSON&lt;UL&gt;&lt;LI&gt;Map() worked!&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;            "layerDefinition": {
                "drawingInfo": {
                    "labelingInfo": []
                }
            },​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I don't have any other evidence other than it seems to have something to do with the labels in the JSON.&lt;/P&gt;&lt;P&gt;Maybe that helps?!?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 18:17:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1567415#M1535</guid>
      <dc:creator>CameronMcCormick</dc:creator>
      <dc:date>2024-12-11T18:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1568809#M1537</link>
      <description>&lt;P&gt;Great find&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6982"&gt;@CameronMcCormick&lt;/a&gt;&amp;nbsp;!&amp;nbsp; Looks like this is a bug when label's are enabled.&amp;nbsp; I was able to reproduce this as well.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 12:18:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1568809#M1537</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-12-16T12:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1568971#M1538</link>
      <description>&lt;P&gt;Would this bug also explain the similar error I get when converting a webmap to a Map() object when the webmap has a group layer.&amp;nbsp; If I remove the Group Layer the Map() object is successfully created. I have also tried this without the Building Data Final layer and just the Group Layer for the 2 feature layers.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MaureenHaining_0-1734370272042.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/121843iA962A28F53C62258/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MaureenHaining_0-1734370272042.png" alt="MaureenHaining_0-1734370272042.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error.message = 1 validation error for Webmap&lt;BR /&gt;applicationProperties.viewing.search.disablePlaceFinder&lt;BR /&gt;Field required [type=missing, input_value={'enabled': True, 'layers...sriFieldTypeInteger'}}]}, input_type=dict]&lt;BR /&gt;For further information visit &lt;A href="https://errors.pydantic.dev/2.8/v/missing" target="_blank"&gt;https://errors.pydantic.dev/2.8/v/missing&lt;/A&gt;&lt;BR /&gt;Error.message = 1 validation error for Webmap&lt;BR /&gt;applicationProperties.viewing.search.disablePlaceFinder&lt;BR /&gt;Field required [type=missing, input_value={'enabled': True, 'layers...sriFieldTypeInteger'}}]}, input_type=dict]&lt;BR /&gt;For further information visit &lt;A href="https://errors.pydantic.dev/2.8/v/missing" target="_blank"&gt;https://errors.pydantic.dev/2.8/v/missing&lt;/A&gt;&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "C:\Users\mhaining\Documents\Repos\Facilities\facilities-gis-integration\lib\log_utils.py", line 66, in step&lt;BR /&gt;return action(*args, **kwargs)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "C:\Users\mhaining\Documents\Repos\Facilities\facilities-gis-integration\Pipelines\extractor.py", line 96, in extract&lt;BR /&gt;return self.get_feature_layer()&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "C:\Users\mhaining\Documents\Repos\Facilities\facilities-gis-integration\lib\log_utils.py", line 54, in do_step&lt;BR /&gt;return ls.step(name, fn, *args, **kwargs)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "C:\Users\mhaining\Documents\Repos\Facilities\facilities-gis-integration\lib\log_utils.py", line 66, in step&lt;BR /&gt;return action(*args, **kwargs)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "C:\Users\mhaining\Documents\Repos\Facilities\facilities-gis-integration\Pipelines\extractor.py", line 75, in get_feature_layer&lt;BR /&gt;webmap_obj = Map(self._web_map[0])&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "C:\Users\mhaining\AppData\Local\anaconda3\envs\arcgis240\Lib\site-packages\arcgis\map\map_widget.py", line 254, in __init__&lt;BR /&gt;self._setup_webmap_properties(item)&lt;BR /&gt;File "C:\Users\mhaining\AppData\Local\anaconda3\envs\arcgis240\Lib\site-packages\arcgis\map\map_widget.py", line 402, in _setup_webmap_properties&lt;BR /&gt;self._webmap = ws.Webmap(**data)&lt;BR /&gt;^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "C:\Users\mhaining\AppData\Local\anaconda3\envs\arcgis240\Lib\site-packages\pydantic\main.py", line 193, in __init__&lt;BR /&gt;self.__pydantic_validator__.validate_python(data, self_instance=self)&lt;BR /&gt;pydantic_core._pydantic_core.ValidationError: 1 validation error for Webmap&lt;BR /&gt;applicationProperties.viewing.search.disablePlaceFinder&lt;BR /&gt;Field required [type=missing, input_value={'enabled': True, 'layers...sriFieldTypeInteger'}}]}, input_type=dict]&lt;BR /&gt;For further information visit &lt;A href="https://errors.pydantic.dev/2.8/v/missing" target="_blank"&gt;https://errors.pydantic.dev/2.8/v/missing&lt;/A&gt;&lt;BR /&gt;python-BaseException&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 17:36:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1568971#M1538</guid>
      <dc:creator>MaureenHaining</dc:creator>
      <dc:date>2024-12-16T17:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1582418#M1552</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6982"&gt;@CameronMcCormick&lt;/a&gt;&amp;nbsp;Just to clarify, did you delete the entire contents of&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; "layerDefinition": {}&lt;/LI-CODE&gt;&lt;P&gt;or just&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;"labelingInfo": []&lt;/LI-CODE&gt;&lt;P&gt;?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've disabled labels on all my layers, duplicated the webmap, and deleted the contents of labelingInfo in Arcgis Assistant, but I'm hesitant to take that next step of deleting all of layerDefinition.&lt;/P&gt;&lt;P&gt;Can we get an update on this? &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;&amp;nbsp;Having to delete the layer definition for every layer in a web map in order to get this module to work is exceedingly cumbersome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 14:26:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1582418#M1552</guid>
      <dc:creator>HayesBuchanan</dc:creator>
      <dc:date>2025-02-06T14:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1582709#M1553</link>
      <description>&lt;P&gt;It's been a hot minute since I did this, but if I remember correctly, once that the "labelingInfo" was in the JSON, it became broken until removed, not just turned off in the webmap.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, when I just recreated the issue, your first example was the only way I could get it to work again...&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;            "layerDefinition": {},&lt;/LI-CODE&gt;&lt;P&gt;Though you can Ctrl+Z through the editor in AGO Assistant, definitely make a copy of the JSON before attempting to edit&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 15:54:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1582709#M1553</guid>
      <dc:creator>CameronMcCormick_HRSD</dc:creator>
      <dc:date>2025-02-06T15:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1582718#M1554</link>
      <description>&lt;P&gt;Sorry, I was logged into my AGO account by accident, that is the same person as me&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":dizzy_face:"&gt;😵&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 16:03:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1582718#M1554</guid>
      <dc:creator>CameronMcCormick</dc:creator>
      <dc:date>2025-02-06T16:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1586382#M1556</link>
      <description>&lt;P&gt;Running from (just recently installed, Python 3.11.10 (main, Sep 20 2024, 18:44:55) ) ArcGIS Pro 3.4 giving the same issue. Try to list all (sub)layers from a webmap via notebook script.&lt;/P&gt;&lt;P&gt;Do not want to rebuild the webmap or need to go into assistant&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from arcgis.gis import GIS&lt;BR /&gt;# from arcgis.mapping import WebMap&lt;BR /&gt;from arcgis.map import Map&lt;BR /&gt;gis = GIS('pro')# if running this from Notebook for ArcGIS in AGOL/Enterprise, replace this line with gis = GIS('home')&lt;BR /&gt;wmItemId = "?????????????" #put the id of the webmap in here &amp;lt;webmap name&amp;gt;&lt;BR /&gt;wmItem = gis.content.get(wmItemId)&lt;BR /&gt;# wm = WebMap(wmItem)&lt;BR /&gt;wm = Map(wmItem)&lt;BR /&gt;for lyr in wm.layers:&lt;BR /&gt;print(lyr.title)&lt;BR /&gt;try:&lt;BR /&gt;for sublyr in reversed(lyr.layers):&lt;BR /&gt;print(lyr.title, "|", sublyr.title)&lt;BR /&gt;try:&lt;BR /&gt;for subsublyr in reversed(sublyr.layers):&lt;BR /&gt;print(sublyr.title, "||", subsublyr.title)&lt;BR /&gt;except:&lt;BR /&gt;fout = True&lt;BR /&gt;except:&lt;BR /&gt;fout = True&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 15:44:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1586382#M1556</guid>
      <dc:creator>Stefan_Thorn</dc:creator>
      <dc:date>2025-02-18T15:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1596206#M1562</link>
      <description>&lt;P&gt;Is there a bug report for this, or any idea on when a fix will be implemented? I am running into this issue as well. Removing labels from the map is not an option, making the whole API unusable.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 16:54:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1596206#M1562</guid>
      <dc:creator>GarrettBoucher</dc:creator>
      <dc:date>2025-03-17T16:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1608102#M1574</link>
      <description>&lt;P&gt;I'm getting the same issue too - trying to update my ArcGIS API for Python Notebook script and for one of the maps I'm getting 38 errors. Do I need to log a bug with Esri for this?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 14:43:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1608102#M1574</guid>
      <dc:creator>DebSF</dc:creator>
      <dc:date>2025-04-22T14:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: WebMap to Map functionality is broken</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1617986#M1578</link>
      <description>&lt;P&gt;I had this issue as well.&amp;nbsp; Really a head scratcher, but after reading the output&amp;nbsp; message and then looking at the web map specification, i realized it was a difference of Vector Symbols vs. Basic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed everything to Basic symbols FROM vector and BOOOM!&amp;nbsp; Maps could export with labels!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that gets you back on track, it did for me.&lt;/P&gt;&lt;P&gt;-Kevin&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 17:57:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/webmap-to-map-functionality-is-broken/m-p/1617986#M1578</guid>
      <dc:creator>KevinS</dc:creator>
      <dc:date>2025-05-23T17:57:06Z</dc:date>
    </item>
  </channel>
</rss>

