<?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: ErrorMessage: Failed to publish web layer in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025456#M37166</link>
    <description>&lt;P&gt;More on this: found several other FC's in the map and discovered I can ID which ones will work by looking at their attribute tables in ArcGIS Pro&lt;/P&gt;&lt;P&gt;for the FCs that fail on publishing, the attribute table appears to be blank (no rows or headers and no active tools)&lt;/P&gt;&lt;P&gt;I'll upload a screen shot&lt;/P&gt;&lt;P&gt;edit: these same FCs work as expected in ArcMap (v10.6) - I can see the attribute table, anyway&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2021 18:24:57 GMT</pubDate>
    <dc:creator>wilcow</dc:creator>
    <dc:date>2021-02-10T18:24:57Z</dc:date>
    <item>
      <title>ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025007#M37114</link>
      <description>&lt;P&gt;Attempting to publish Enterprise GIS layers to AGO and after an hour or so, I receive this message:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Server Response: {"error":{"code":400,"message":"Invalid URL","details":["Invalid URL"]}}&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I've seen this error when trying to publish features with Definition Queries, but none of these layers have DQs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple of them do have related tables, but I removed those on the latest attempt to no avail.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a ton of features in the project I'm publishing - could this be a simple time-out issue?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 20:10:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025007#M37114</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2021-02-09T20:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025078#M37121</link>
      <description>&lt;P&gt;Are you publishing all the layers out at once and receive this message?&amp;nbsp; You could test each layers success (or failure) of publishing as a web layer by selecting each one individually, right-clicking on the selected layer-&amp;gt;Sharing-&amp;gt;Share as web layer to see which one errors out.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 22:32:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025078#M37121</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2021-02-09T22:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025320#M37149</link>
      <description>&lt;P&gt;Yessir I was publishing all at once. I tried to publish them one by one as you suggested and got the same error on the first FC I tried.&lt;/P&gt;&lt;P&gt;to be sure, I opened a new project and tried the same FC by itself - same result, so it seems that there's a problem with that FC.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 14:03:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025320#M37149</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2021-02-10T14:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025342#M37153</link>
      <description>&lt;P&gt;Depending if that one FC has any behaviors on it (i.e. subtype, domain, etc.), you could export it out as a shapefile and reimport it as a geodatabase feature class to see if that "fixes" it.&amp;nbsp; Then reshare to a web layer.&amp;nbsp; What is the result - error or success?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 14:40:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025342#M37153</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2021-02-10T14:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025395#M37162</link>
      <description>&lt;P&gt;I tested that process (export to .SHP and reimport to GDB and then publish) and it worked for that FC.&lt;/P&gt;&lt;P&gt;Now I'll add it back into the project and see if it still errors out.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 16:11:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025395#M37162</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2021-02-10T16:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025456#M37166</link>
      <description>&lt;P&gt;More on this: found several other FC's in the map and discovered I can ID which ones will work by looking at their attribute tables in ArcGIS Pro&lt;/P&gt;&lt;P&gt;for the FCs that fail on publishing, the attribute table appears to be blank (no rows or headers and no active tools)&lt;/P&gt;&lt;P&gt;I'll upload a screen shot&lt;/P&gt;&lt;P&gt;edit: these same FCs work as expected in ArcMap (v10.6) - I can see the attribute table, anyway&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 18:24:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025456#M37166</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2021-02-10T18:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025482#M37171</link>
      <description>&lt;P&gt;Question - do any of your FC tables have a date field and if so, do you see a value of 12/30/1899?&amp;nbsp; Weird I know but I'm researching some BUGs that talk about this.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 18:10:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025482#M37171</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2021-02-10T18:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025496#M37172</link>
      <description>&lt;P&gt;as a matter of fact they do. Yes to both.&lt;/P&gt;&lt;P&gt;I seem to recall this being an issue when I created these features - had to add and calculate new date fields for several datasets, I think&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 18:22:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025496#M37172</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2021-02-10T18:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025498#M37173</link>
      <description>&lt;P&gt;Okay - test this.&amp;nbsp; Create a copy of the FC in your geodatabase.&amp;nbsp; Delete the date fields, try to publish as a web layer.&amp;nbsp; Success or not so much?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 18:25:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025498#M37173</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2021-02-10T18:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025519#M37176</link>
      <description>&lt;P&gt;Done. Out of 4 Date fields I found 2 that contained "12/30/1899".&amp;nbsp;&lt;/P&gt;&lt;P&gt;I removed those fields and was able to publish the Feature Layer to AGO.&lt;/P&gt;&lt;P&gt;I'm going to test whether changing that value might have an effect on one of the other FCs&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 19:29:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025519#M37176</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2021-02-10T19:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025523#M37177</link>
      <description>&lt;P&gt;Aha!&amp;nbsp; We're on to something!&amp;nbsp; Good to hear the initial test worked without the DATE fields.&amp;nbsp; I'll be curious to hear the new test with the 12/30/1899 fields changed to something more current.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 19:34:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025523#M37177</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2021-02-10T19:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025541#M37186</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":confounded_face:"&gt;😖&lt;/span&gt;changing the values didn't work. still get an error when attempting to publish that FC.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 20:21:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025541#M37186</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2021-02-10T20:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025546#M37188</link>
      <description>&lt;P&gt;Okay something is "up" with those fields.&amp;nbsp; How about creating new DATE fields, selecting all the records minus the ones with the 12/30/1899 values, field calc on the new DATE fields and keying in the correct dates for the ones that are 12/30/1899.&amp;nbsp; Then delete the old DATE fields and try to publish.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 20:31:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025546#M37188</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2021-02-10T20:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025575#M37193</link>
      <description>&lt;P&gt;Agreed. I saw this on several other datasets and replacing the DATE fields is what fixed it then.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea whether the issue is with the data or with ArcGIS Pro?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 21:04:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025575#M37193</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2021-02-10T21:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025594#M37196</link>
      <description>&lt;P&gt;Not sure but there are a few bug reports somewhat related to what you're seeing:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;BUG-000111131 : If a time zone is set on a feature service in ArcGIS Server, if edits are not made on the date field and the date is null, the date field will auto-populate with 12/30/1899.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BUG-000097813 : When setting a time zone on a map service in ArcGIS Server, if edits are not made in an ArcGIS Online web map to the date field and the date field is blank, the date field will auto-populate with 12/30/1899.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There were some notes internally about the issue occurring when a hosted feature layer consisting of a date field is republished and then again exported as a file geodatabase from ArcGIS Online/Portal.&amp;nbsp; Also trying to view the fields to change the default value will throw the error.&amp;nbsp; It was observed in ArcGIS Pro 2.4.2 and ArcGIS Pro 2.5 (Alpha 3).&amp;nbsp; Those bugs are to be fixed at 2.8 it seems.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 21:18:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025594#M37196</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2021-02-10T21:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025600#M37197</link>
      <description>&lt;P&gt;Thanks for your help on this!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 21:29:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1025600#M37197</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2021-02-10T21:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1189843#M56987</link>
      <description>&lt;P&gt;I have the same issue and I use Pro 3.0. The original data is coming from SDE and It does not let me publish to AGO but when I make a copy of it inside SDE, I can publish. As discussed in this post before, the data has date fields with NULL values.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 13:52:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1189843#M56987</guid>
      <dc:creator>Esad</dc:creator>
      <dc:date>2022-07-06T13:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1219412#M60759</link>
      <description>&lt;P&gt;Any update on this&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2538"&gt;@Robert_LeClair&lt;/a&gt;&amp;nbsp;?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also using Pro 3.0. Data is from a SDE using ArcGIS Server 10.6, and is part of the geometric network.&amp;nbsp; There are 7 layers with Definition Queries. There are plenty &amp;lt;null&amp;gt; Date fields as well as Date Fields that have a value of 1/1/1900.&lt;/P&gt;&lt;P&gt;StatusMessage: Server Response: {"error":{"code":400,"message":"Invalid URL","details":["Invalid URL"]}}&lt;/P&gt;&lt;P&gt;StatusMessage: Server Response: ERROR: code:400, Invalid URL, Invalid URL, Bad syntax in request.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 15:50:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1219412#M60759</guid>
      <dc:creator>BrandonLee1</dc:creator>
      <dc:date>2022-10-06T15:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1219435#M60764</link>
      <description>&lt;P&gt;Hi Brandon - yes there is an update on the two bugs:&lt;/P&gt;&lt;P&gt;BUG-000111131 : If a time zone is set on a feature service in ArcGIS Server, if edits are not made on the date field and the date is null, the date field will auto-populate with 12/30/1899. (Fixed at 10.6.1)&lt;/P&gt;&lt;P&gt;BUG-000097813 : When setting a time zone on a map service in ArcGIS Server, if edits are not made in an ArcGIS Online web map to the date field and the date field is blank, the date field will auto-populate with 12/30/1899. ( Is similar to BUG-000117825 - Publishing a feature service with a date field having null values and time enabled on it shows no feature in ArcGIS Online.&amp;nbsp; In the internals, both show fixed 1/16/2020 but I can't find the release number)&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 16:23:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1219435#M60764</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2022-10-06T16:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorMessage: Failed to publish web layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1219475#M60770</link>
      <description>&lt;P&gt;Thanks for the update on the updates!&amp;nbsp; So my work-around would be to populate all of the null date fields then?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 17:12:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/errormessage-failed-to-publish-web-layer/m-p/1219475#M60770</guid>
      <dc:creator>BrandonLee1</dc:creator>
      <dc:date>2022-10-06T17:12:22Z</dc:date>
    </item>
  </channel>
</rss>

