<?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 Invalid value for Index Name in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/invalid-value-for-index-name/m-p/220259#M16992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I continue to get this error when adding an Index for some geodatabase tables within a python script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]ExecuteError: Failed to execute. Parameters are not valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 000192: Invalid value for Index Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (AddIndex). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]The names for the indexes seem to match all the requirements (16 characters or less, not starting with a number and no spaces). So what am I missing?? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This error happens inconsistently. Meaning, it will create the index for one of the table views and move on to bomb at the next add index. Then I "fix" that index name, rerun and it will bomb at the previous index. However, the script is running these processes on table views, so it should not be an overwrite issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached is a sample of the line of code that is bombing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-frank&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2011 17:50:13 GMT</pubDate>
    <dc:creator>FrankLahm_III</dc:creator>
    <dc:date>2011-10-12T17:50:13Z</dc:date>
    <item>
      <title>Invalid value for Index Name</title>
      <link>https://community.esri.com/t5/python-questions/invalid-value-for-index-name/m-p/220259#M16992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I continue to get this error when adding an Index for some geodatabase tables within a python script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]ExecuteError: Failed to execute. Parameters are not valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 000192: Invalid value for Index Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (AddIndex). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]The names for the indexes seem to match all the requirements (16 characters or less, not starting with a number and no spaces). So what am I missing?? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This error happens inconsistently. Meaning, it will create the index for one of the table views and move on to bomb at the next add index. Then I "fix" that index name, rerun and it will bomb at the previous index. However, the script is running these processes on table views, so it should not be an overwrite issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached is a sample of the line of code that is bombing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-frank&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 17:50:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/invalid-value-for-index-name/m-p/220259#M16992</guid>
      <dc:creator>FrankLahm_III</dc:creator>
      <dc:date>2011-10-12T17:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid value for Index Name</title>
      <link>https://community.esri.com/t5/python-questions/invalid-value-for-index-name/m-p/220260#M16993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Don't quote me on this, but I seem to recall the add index gives this error if there is already an index with that name, or the field you are indexing is already indexed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 17:55:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/invalid-value-for-index-name/m-p/220260#M16993</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2011-10-12T17:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid value for Index Name</title>
      <link>https://community.esri.com/t5/python-questions/invalid-value-for-index-name/m-p/220261#M16994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Mathew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The index names should all be unique; however, I have not check to see if the script is indexing the same fields repeatedly.&amp;nbsp; I will check that out next.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the speedy response. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-f&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 18:25:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/invalid-value-for-index-name/m-p/220261#M16994</guid>
      <dc:creator>FrankLahm_III</dc:creator>
      <dc:date>2011-10-12T18:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid value for Index Name</title>
      <link>https://community.esri.com/t5/python-questions/invalid-value-for-index-name/m-p/220262#M16995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I run a python script from SQL Agent that deletes and rebuilds a layer so I subsequently add the indexes back on.&amp;nbsp; It failed on a process after the index, so I started the script from the beginning as I had no legible error code.&amp;nbsp; Thus it failed this time on the index rebuild.&amp;nbsp; I reordered a bit of the python script and made the index part it's own module which is run last.&amp;nbsp; Therefore if it fails I don't have to trouble shoot that aspect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 13:13:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/invalid-value-for-index-name/m-p/220262#M16995</guid>
      <dc:creator>DylanKennard</dc:creator>
      <dc:date>2015-10-01T13:13:01Z</dc:date>
    </item>
  </channel>
</rss>

