<?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: Hosted Feature Layer Error: There was an error publishing the service. in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1354197#M56116</link>
    <description>&lt;P&gt;I was just experiencing the same issue with a layer published from a .XLSX file and i believe that is the culprit. My issue was resolved by deleting the XLXS file stored on AGOL that it was published from. Hope this helps.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2023 17:48:50 GMT</pubDate>
    <dc:creator>GreasyHeap</dc:creator>
    <dc:date>2023-11-28T17:48:50Z</dc:date>
    <item>
      <title>Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1237691#M49163</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm having a reoccurring error that I'm hoping one of you very bright people could help me to resolve. I have a couple of excel spreadsheets that don't have location data that I've converted into hosted feature layers so that I can use them for dashboards. Everything normally works well, until down the road come the time when I want to update the data. When I try access the hosted feature layer to see and update the data, I get this error message that says "There was an error publishing the service." And I'm unable to access the data, even though the dashboard that was created with it is still working (for example, &lt;A href="https://commonpurpose.maps.arcgis.com/apps/dashboards/4520200d62ef4316a74e41719bfa7222" target="_blank"&gt;https://commonpurpose.maps.arcgis.com/apps/dashboards/4520200d62ef4316a74e41719bfa7222&lt;/A&gt;). This is a big problem for me because I need to be able to update the data annually. I've attached a spreadsheet of the current dataset thats giving me this error (an extremely simple dataset nonetheless, which makes this even more confusing), and a screenshot of the error message.&lt;/P&gt;&lt;P&gt;Thanks so much in advance for your help and support!&lt;/P&gt;&lt;P&gt;Olivia&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 09:19:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1237691#M49163</guid>
      <dc:creator>OliviaIldefonso</dc:creator>
      <dc:date>2022-12-05T09:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1237763#M49166</link>
      <description>&lt;P&gt;I hate to say it, but I don't get that error when I try publishing the same spreadsheet:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1670251139522.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57638iC811E709363C6B15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1670251139522.png" alt="jcarlson_0-1670251139522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If something &lt;EM&gt;were &lt;/EM&gt;causing issues, I'd guess it to be the empty cells in the bottom row. Null integers can throw errors in certain cases. Do you still see this error if you put 0s into the empty cells?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 14:40:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1237763#M49166</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-12-05T14:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1237764#M49167</link>
      <description>&lt;P&gt;Are you able to see and update the data immediately after adding the table to ArcGIS Online? Or is it only later on when you try to update it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only thing that stands out to me on your xlsx is in the "All New Bedford" row, the school and join key fields are merged. Maybe that is causing a problem? I would first try to unmerge those rows and if All New Bedford does not have a join key, to just leave that cell blank.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 14:40:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1237764#M49167</guid>
      <dc:creator>DanielMiranda2</dc:creator>
      <dc:date>2022-12-05T14:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1237765#M49168</link>
      <description>&lt;P&gt;I thought that, too, but it's only how the sheet is rendering here on the Community. If you download the file, it's not merged.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 14:43:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1237765#M49168</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-12-05T14:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1238168#M49195</link>
      <description>&lt;P&gt;Thank you both so much for engaging with my question and for your help!&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;I'm unfortunately not able to put 0s in the All New Bedford row to see is that would help because it wont let me see the data at all. It just shows the error.&lt;/P&gt;&lt;P&gt;And &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/614407"&gt;@DanielMiranda2&lt;/a&gt; I'm able to see the data and build out he dashboards initially. The error typically comes days or weeks later when I need to go back to the data to update something. Its then that I get this error. And this has already happened to me a few times with other hosted feature layers.&lt;/P&gt;&lt;P&gt;Could it be a problem that I dont have location data in the spreadsheet?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 11:11:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1238168#M49195</guid>
      <dc:creator>OliviaIldefonso</dc:creator>
      <dc:date>2022-12-06T11:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1238169#M49196</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp;if the issue is that I have empty cells rather than 0s this presents an interesting problem because for the datasets Im working with 0 typically means that the cell has a value and its 0, as opposed to instances when there are no values, for example, because the population is too small so a value cant be given because of privacy concerns. So if ArcGIS Online wants me to always have a value, and not be able to put in NULL or NA (because we know it doesnt like to mix up field types), then Im not sure how Id be able to make that necessary distinction. Thoughts?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 11:17:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1238169#M49196</guid>
      <dc:creator>OliviaIldefonso</dc:creator>
      <dc:date>2022-12-06T11:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1238224#M49197</link>
      <description>&lt;P&gt;Yeah, I wondered if the null / 0 thing would cause statistical problems.&lt;/P&gt;&lt;P&gt;Even though you won't be working with fractional values, setting the field type to a decimal / double would allow nulls. Also, it's not surprising that the &lt;EM&gt;update&lt;/EM&gt; process is giving you problems. I've also had issues with null integers during updates, and I believe it's got something to do with one of the backend processes that you unfortunately don't have any access to change.&lt;/P&gt;&lt;P&gt;The lack of spatial information in the spreadsheet could be part of it. Are you using the spreadsheet to update a spatial layer?&lt;/P&gt;&lt;P&gt;I'd suggest looking into alternate means of updating your features. Is this spreadsheet the extent of it, or do you anticipate having a large number of rows or frequent updates? It may simply be easier to edit the table by hand if it's small and infrequent.&lt;/P&gt;&lt;P&gt;If you want it automated, the Python API can edit your features in place, even when the source data doesn't have spatial attributes.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 14:12:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1238224#M49197</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-12-06T14:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1238313#M49203</link>
      <description>&lt;P&gt;Oh thats really helpful to know that setting the field type to a single or double would allow nulls. Thanks for sharing that!&lt;/P&gt;&lt;P&gt;I'm not using the table for a join or any spatial analysis, Im using it (and similar spreadsheets) to create the dashboards that go into this story map (&lt;A href="https://arcg.is/11THyX0" target="_blank"&gt;https://arcg.is/11THyX0&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;Since Ill only need to update the data twice a year, I plan on updating the table manually using the "update data"--&amp;gt;"append data to layer" feature, but unfortunately that isn't an option when the error is displayed.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 15:53:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1238313#M49203</guid>
      <dc:creator>OliviaIldefonso</dc:creator>
      <dc:date>2022-12-06T15:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1243046#M49470</link>
      <description>&lt;P&gt;I also have the same issue with a table for my dashboard. It was working for weeks, but now I can't access the data table to update my metrics for a serial chart. The data tab has disappeared. Any advice is appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 19:00:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1243046#M49470</guid>
      <dc:creator>TBWI</dc:creator>
      <dc:date>2022-12-21T19:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1256329#M50242</link>
      <description>&lt;P&gt;Hi, I am hoping to find a solution to this too. I am having the same issue. The file works great for awhile, but then all of sudden it gives this same error "&lt;SPAN&gt;There was an error publishing the service." I was doing the same thing as you were, attempting to go back and edit the data. The first time this happened, I was still editing the data for the first time. I assumed I'd done something wrong and deleted the whole thing and started over. This time, the data is complete and has been working for several weeks, but now is throwing that error. It's extremely frustrating and Google has been no help.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 22:18:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1256329#M50242</guid>
      <dc:creator>SamanthaEarnest1</dc:creator>
      <dc:date>2023-02-08T22:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1266990#M50854</link>
      <description>&lt;P&gt;Hello, I have the same issue. I also use the data to be displayed in ArcGIS Dashboards, so it seems to me that the bug is in Dashboards. What do you think? Has anyone found a solution besides recreating the layer?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 09:52:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1266990#M50854</guid>
      <dc:creator>VojtěchAndrš</dc:creator>
      <dc:date>2023-03-13T09:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1267170#M50863</link>
      <description>I ended up redoing my layer to a regular feature layer with overlapping&lt;BR /&gt;points/features at the same location. The error was causing a big headache.&lt;BR /&gt;I had not found a solution besides redoing my layer.&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Mar 2023 17:07:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1267170#M50863</guid>
      <dc:creator>TBWI</dc:creator>
      <dc:date>2023-03-13T17:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1289398#M52202</link>
      <description>&lt;P&gt;Was there ever a solution found for this? I have been expereincing this as well. Good to at least know that it is not a mistake that I am making.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 22:57:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1289398#M52202</guid>
      <dc:creator>TuckerTeutsch</dc:creator>
      <dc:date>2023-05-15T22:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1289483#M52213</link>
      <description>&lt;P&gt;I left it as it is and after some time when I checked the layer everything was alright – no error. Dunno, seems to me like some random bug. The weird thing is that now I am having the same error with another layer.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 06:54:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1289483#M52213</guid>
      <dc:creator>VojtěchAndrš</dc:creator>
      <dc:date>2023-05-16T06:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1289876#M52241</link>
      <description>BUG-000149005 : Feature services which are successfully published from XLS files return an undefined error about 2 weeks after the initial publish when accessed by the item owner or admin. As an alternative workaround, assisted user to create a replica (a file geodatabase) from the REST endpoint of the service to save attachments from a hosted feature service. Then, published the .fgdb in ArcGIS Online as new hosted feature layer and removed the old layer and added the new one to the web map and user was able to edit without any issues. Related Documentation: 1. &lt;A href="https://support.esri.com/en/technical-article/000012232#:~:text=Procedure.%201%20Log%20in%20to%20the%20ArcGIS%20Online,Create%20Replica%3A%20%28feature%20service%20name%29%20displays.%20See%20More" target="_blank"&gt;https://support.esri.com/en/technical-article/000012232#:~:text=Procedure.%201%20Log%20in%20to%20the%20ArcGIS%20Online,Create%20Replica%3A%20%28feature%20service%20name%29%20displays.%20See%20More&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 May 2023 23:23:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1289876#M52241</guid>
      <dc:creator>SamanthaEarnest1</dc:creator>
      <dc:date>2023-05-16T23:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1289880#M52242</link>
      <description>Yes, the ESRI technical support person helped me to copy my excel spreadsheet into a file geodatabase and reupload it. It worked fine after that. Apparently it's a bug from working from Excel.&lt;BR /&gt;</description>
      <pubDate>Tue, 16 May 2023 23:26:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1289880#M52242</guid>
      <dc:creator>SamanthaEarnest1</dc:creator>
      <dc:date>2023-05-16T23:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1295492#M52570</link>
      <description>&lt;P&gt;I still have this same problem...I guess I will have to go thru tech support.&lt;/P&gt;&lt;P&gt;So weird that it is perfect at creation, but 2 weeks later get's goofed up. Crazy.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 18:59:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1295492#M52570</guid>
      <dc:creator>JayLarsen</dc:creator>
      <dc:date>2023-06-02T18:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1354197#M56116</link>
      <description>&lt;P&gt;I was just experiencing the same issue with a layer published from a .XLSX file and i believe that is the culprit. My issue was resolved by deleting the XLXS file stored on AGOL that it was published from. Hope this helps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 17:48:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1354197#M56116</guid>
      <dc:creator>GreasyHeap</dc:creator>
      <dc:date>2023-11-28T17:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1375564#M57119</link>
      <description>&lt;P&gt;I have the same issue. Any update on this?&lt;/P&gt;&lt;P&gt;I am not able to update the feature layer and I already created a web experience from that data. I can't redo all the work. I need to be able to update the layer or replace it without messing up with the web experience.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 18:01:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1375564#M57119</guid>
      <dc:creator>JesicaZapataZapata</dc:creator>
      <dc:date>2024-01-29T18:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hosted Feature Layer Error: There was an error publishing the service.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1375572#M57120</link>
      <description>&lt;P&gt;were you able to solve it?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 18:23:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hosted-feature-layer-error-there-was-an-error/m-p/1375572#M57120</guid>
      <dc:creator>JesicaZapataZapata</dc:creator>
      <dc:date>2024-01-29T18:23:46Z</dc:date>
    </item>
  </channel>
</rss>

