<?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: Troubleshooting error 10583 &amp;quot;A value passed for the field X is invalid&amp;quot; in ArcGIS Data Interoperability Ques.</title>
    <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/troubleshooting-error-10583-quot-a-value-passed/m-p/1109791#M76</link>
    <description>&lt;P&gt;Hi Brittany, I think you found a bug - thank you!&amp;nbsp; I'll follow up with the development folks to take a look.&lt;/P&gt;&lt;P&gt;I look forward to hearing from you!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Oct 2021 16:08:08 GMT</pubDate>
    <dc:creator>BruceHarold</dc:creator>
    <dc:date>2021-10-21T16:08:08Z</dc:date>
    <item>
      <title>Troubleshooting error 10583 "A value passed for the field X is invalid"</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/troubleshooting-error-10583-quot-a-value-passed/m-p/1109287#M73</link>
      <description>&lt;P&gt;Hi all, hoping someone can help troubleshoot. I've got a workbench that I'm using to hopefully publish ongoing updates from publicly hosted &lt;A href="https://data.sandiego.gov/datasets/get-it-done-311/" target="_self"&gt;Get It Done reports for San Diego&lt;/A&gt;. I'm running into this error with the 2021 YTD dataset:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrittanyBurson_3-1634744351428.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25636i7CB0D94292FFA222/image-size/large?v=v2&amp;amp;px=999" role="button" title="BrittanyBurson_3-1634744351428.png" alt="BrittanyBurson_3-1634744351428.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;ArcGIS Portal Feature Service Writer: String attribute 'public_description' truncated to fit maximum field length of 254 on server
... Last line repeated 89 times ...
ArcGIS Portal Feature Service Writer: Writing features for layer/table 'gid_stormwater_1', with 0 inserts, 1000 updates, and 0 deletes
ArcGIS Portal Feature Service Writer: String attribute 'public_description' truncated to fit maximum field length of 254 on server
... Last line repeated 94 times ...
ArcGIS Portal Feature Service Writer: Writing features for layer/table 'gid_stormwater_1', with 0 inserts, 1000 updates, and 0 deletes
ArcGIS Portal Feature Service Writer: 'updateResults' error for a feature in 'gid_stormwater_1'. The error code from the server was '10510' and the message was: 'Operation rolled back.'
... Last line repeated 568 times ...
ArcGIS Portal Feature Service Writer: 'updateResults' error for a feature in 'gid_stormwater_1'. The error code from the server was '10583' and the message was: 'A value passed for the field 'public_description' is invalid.'
ArcGIS Portal Feature Service Writer: 1000 features successfully written to 'gid_stormwater_1', but the server rejected the 1000 features in the last request due to errors. See warnings above. Aborting translation
ARCGISPORTALFEATURES writer: A fatal error has occurred. Check the logfile above for details&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I "Remove" the public_description field using the AttributeManager, it publishes fine.&lt;/P&gt;&lt;P&gt;I was guessing it could be something to do with some accented characters in the public_description field, though I do see these characters successfully published to Portal when published manually.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrittanyBurson_2-1634744179128.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25635i29594B6C0AAAE2DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrittanyBurson_2-1634744179128.png" alt="BrittanyBurson_2-1634744179128.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried using a StringPairReplacer to swap these out, but either I'm not getting them all or it's something else.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrittanyBurson_1-1634744006907.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25633i194C7403358FCFF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrittanyBurson_1-1634744006907.png" alt="BrittanyBurson_1-1634744006907.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The dataset publishes fine on its own to Portal, it just seems to be the update process where it is getting stuck. I'm new to this extension/FME world so it could be something super obvious. I appreciate any suggestions!&lt;/P&gt;&lt;P&gt;The entire workspace so far...&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="di_workspace.PNG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25651i23C00E673E945FCF/image-size/large?v=v2&amp;amp;px=999" role="button" title="di_workspace.PNG" alt="di_workspace.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 17:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/troubleshooting-error-10583-quot-a-value-passed/m-p/1109287#M73</guid>
      <dc:creator>BrittanyBurson</dc:creator>
      <dc:date>2021-10-20T17:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting error 10583 "A value passed for the field X is invalid"</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/troubleshooting-error-10583-quot-a-value-passed/m-p/1109366#M74</link>
      <description>&lt;P&gt;Hi Brittany, usually this type of error is an overflow of the data you are attempting to write, meaning the target field public_description is defined as being a particular width but a value coming in is wider.&amp;nbsp; "description" fields are notorious for this, people write 'books' into some web form and you get more characters than the field can take.&amp;nbsp; Truncate the data with a string function like @Left(@Value(public_description),100).&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 18:13:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/troubleshooting-error-10583-quot-a-value-passed/m-p/1109366#M74</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2021-10-20T18:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting error 10583 "A value passed for the field X is invalid"</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/troubleshooting-error-10583-quot-a-value-passed/m-p/1109760#M75</link>
      <description>&lt;P&gt;Hi Bruce! Thanks for the reply. I forgot to mention the field length was the first thing I went for as well, but it didn't' seem to help. I tried again at your suggestion to no avail.&lt;/P&gt;&lt;P&gt;However, I did end up finding a single problematic record. I did this by running half the records each time with a less than/greater than X service id, to narrow in on a single record. Once I found it, I confirmed the entire rest of the dataset ran successfully with it removed in the TestFilter:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrittanyBurson_0-1634829446432.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25749i5F4D2A2383BE1379/image-size/large?v=v2&amp;amp;px=999" role="button" title="BrittanyBurson_0-1634829446432.png" alt="BrittanyBurson_0-1634829446432.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the public_description field of this record:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrittanyBurson_1-1634829692007.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25750i13F340664FB010B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="BrittanyBurson_1-1634829692007.png" alt="BrittanyBurson_1-1634829692007.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I remove the &amp;lt; bracket with a StringPairReplacer, the translation is successful. If I remove only the &amp;gt; bracket, it still fails:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrittanyBurson_4-1634830853569.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25753i8BCE65A1F6B52EFC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrittanyBurson_4-1634830853569.png" alt="BrittanyBurson_4-1634830853569.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Interestingly there is a second record with a single &amp;lt; that causes no issues:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrittanyBurson_3-1634830686499.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25752iB16FA58D62EAD50A/image-size/large?v=v2&amp;amp;px=999" role="button" title="BrittanyBurson_3-1634830686499.png" alt="BrittanyBurson_3-1634830686499.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm not quite sure how to predict or plan for potential cases like this... is there a list of problematic characters when updating or inserting data in Portal, like there is for field names?&lt;/P&gt;&lt;P&gt;Who knows... but thank you for your help. I'm sure you'll be hearing from me more in the future as we continue to use this tool!&lt;/P&gt;&lt;P&gt;Thank you --&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 15:45:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/troubleshooting-error-10583-quot-a-value-passed/m-p/1109760#M75</guid>
      <dc:creator>BrittanyBurson</dc:creator>
      <dc:date>2021-10-21T15:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting error 10583 "A value passed for the field X is invalid"</title>
      <link>https://community.esri.com/t5/arcgis-data-interoperability-ques/troubleshooting-error-10583-quot-a-value-passed/m-p/1109791#M76</link>
      <description>&lt;P&gt;Hi Brittany, I think you found a bug - thank you!&amp;nbsp; I'll follow up with the development folks to take a look.&lt;/P&gt;&lt;P&gt;I look forward to hearing from you!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 16:08:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-interoperability-ques/troubleshooting-error-10583-quot-a-value-passed/m-p/1109791#M76</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2021-10-21T16:08:08Z</dc:date>
    </item>
  </channel>
</rss>

