<?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: Problem with UpdateCursor - cannot updagte table in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1330407#M68704</link>
    <description>&lt;P&gt;You said it works in one "system" and not another.&amp;nbsp; Permission questions have already been asked, but you should also look the edition of ArcGIS Pro that one person has vs. the other.&amp;nbsp; Perhaps one has a Standard license but the other system uses a Basic license.&amp;nbsp; That would probably throw such an error.&lt;/P&gt;&lt;P&gt;I think I've received "Cannot update table" when one of the text field values was too large, but that wouldn't explain why one system could do it and the other couldn't.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 20:59:17 GMT</pubDate>
    <dc:creator>RogerDunnGIS</dc:creator>
    <dc:date>2023-09-19T20:59:17Z</dc:date>
    <item>
      <title>Problem with UpdateCursor - cannot updagte table</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329190#M68642</link>
      <description>&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I'm running into a problem with an UpdateCursor in arcpy.&lt;BR /&gt;As soon as the script is encountering the UpdateCursor line, it ends with an error "Cannot update table".&lt;/P&gt;&lt;P&gt;I can run a SearchCursor over the feature class without problems, just the UpdateCursor fails every time.&lt;/P&gt;&lt;P&gt;This is the (very simplified) code I'm looking at:&lt;/P&gt;&lt;PRE&gt;connection = &lt;SPAN&gt;"C:&lt;/SPAN&gt;&lt;SPAN&gt;\\&lt;/SPAN&gt;&lt;SPAN&gt;Users&lt;/SPAN&gt;&lt;SPAN&gt;\\&lt;/SPAN&gt;&lt;SPAN&gt;user_name&lt;/SPAN&gt;&lt;SPAN&gt;\\&lt;/SPAN&gt;&lt;SPAN&gt;AppData&lt;/SPAN&gt;&lt;SPAN&gt;\\&lt;/SPAN&gt;&lt;SPAN&gt;Roaming&lt;/SPAN&gt;&lt;SPAN&gt;\\&lt;/SPAN&gt;&lt;SPAN&gt;ESRI&lt;/SPAN&gt;&lt;SPAN&gt;\\&lt;/SPAN&gt;&lt;SPAN&gt;Desktop10.8&lt;/SPAN&gt;&lt;SPAN&gt;\\&lt;/SPAN&gt;&lt;SPAN&gt;ArcCatalog&lt;/SPAN&gt;&lt;SPAN&gt;\\&lt;/SPAN&gt;&lt;SPAN&gt;database.gds&lt;/SPAN&gt;&lt;SPAN&gt;\\&lt;/SPAN&gt;&lt;SPAN&gt;Utilities (VERSION:dbo.DEFAULT)"&lt;BR /&gt;&lt;/SPAN&gt;fc = &lt;SPAN&gt;"CV_Valves"&lt;BR /&gt;&lt;/SPAN&gt;fc_path = &lt;SPAN&gt;f"&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;connection&lt;SPAN&gt;}\\{&lt;/SPAN&gt;fc&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;edit = arcpy.da.Editor(connection)&lt;BR /&gt;edit.startEditing(False, True)&lt;BR /&gt;edit.startOperation()&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;with &lt;/SPAN&gt;arcpy.da.UpdateCursor(fc_path&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"OBJECTID"&lt;/SPAN&gt;) &lt;SPAN&gt;as &lt;/SPAN&gt;cursor:&lt;BR /&gt;   &lt;SPAN&gt;for &lt;/SPAN&gt;row &lt;SPAN&gt;in &lt;/SPAN&gt;cursor:&lt;BR /&gt;      &lt;SPAN&gt;print&lt;/SPAN&gt;(row[&lt;SPAN&gt;0&lt;/SPAN&gt;])&lt;BR /&gt;      &lt;SPAN&gt;# cursor.updateRow(row)&lt;BR /&gt;&lt;BR /&gt;edit.stopOperation()&lt;BR /&gt;edit.stopEditing(True)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I have the updateRow line commented out for testing purposes, and the actual user_name and db name are replaced by placeholders. I realize that the code is not updating anything, and this is just show the error I'm running into. I'm running Python 3.9&lt;/P&gt;&lt;P&gt;I'm not sure if this has something to do with the SDE I'm connecting to, because the code is simple enough where it shouldn't throw any errors. The same procedure works fine when I connect to an SDE DB on a different system. As I mentioned above, I can run a SearchCursor over the same table without any issues.&lt;/P&gt;&lt;P&gt;Any help or pointers would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Mard&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 17:55:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329190#M68642</guid>
      <dc:creator>MarcSeliger</dc:creator>
      <dc:date>2023-09-15T17:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UpdateCursor - cannot updagte table</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329191#M68643</link>
      <description>&lt;P&gt;This is definitely a permissions issue, is the user in the connection file allowed to edit the features you're accessing? If you can use search, but not update this is probably what's causing the error because that exception is being thrown before the cursor is even initialized.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 18:05:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329191#M68643</guid>
      <dc:creator>HaydenWelch</dc:creator>
      <dc:date>2023-09-15T18:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UpdateCursor - cannot updagte table</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329195#M68644</link>
      <description>&lt;P&gt;Hayden,&lt;/P&gt;&lt;P&gt;thanks for the quick response. I'm not at the machine that is running the code right now, but I'll double check on that next week However, when I looked at the content in ArcCatalog using the same SDE connection as in my script, and then dragged the feature class into ArcMap, I was able to make edits and save them. I've never experienced this error before. If it actually is a permission issue, what do I need to do to resolve this?&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 18:12:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329195#M68644</guid>
      <dc:creator>MarcSeliger</dc:creator>
      <dc:date>2023-09-15T18:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UpdateCursor - cannot updagte table</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329212#M68645</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/719209"&gt;@MarcSeliger&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;A couple of things.&lt;/P&gt;&lt;P&gt;First, you typically don't edit the 'OBJECTID' field simply because that is merely an automated id that is added every time a new record is inserted into the table. You would typically any use any other field(s) for the update. You can use a search cursor or insert cursor for the&amp;nbsp;'OBJECTID' but that would be about it.&lt;/P&gt;&lt;P&gt;Second, you can get the file path in pro by going into the catalog, selecting the feature class you want to update, and then copy the file path using Ctrl + Alt + P to get the full path.&lt;/P&gt;&lt;P&gt;Third, the reason that you might not be able to update the other feature class is due to permission issues on the database or there might be a schema lock due to someone else editing.&lt;/P&gt;&lt;P&gt;You should be able to also check the database to see if anyone else is potentially editing.&lt;/P&gt;&lt;P&gt;I have also included a script that I have used to streamline editing that may or may not help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy, os
from arcpy import ListFields
from arcpy.da import (
    Editor, SearchCursor, UpdateCursor, InsertCursor
    )

UpdateFeatureClass = r'{ file path of the specified feature class or shapefile }'
SearchFeatureClass = r' { file path of the feature with object ids to update the other feature class }'

OIDField = ['OID@']
UpdateFeatureClassFields = [ field.name for field in ListFields( UpdateFeatureClass ) ] 
SearchFeatureClassFields = [ field.name for field in ListFields( UpdateFeatureClass ) ] 
# You can insert an if statement at the end if you need to get specific fields with particular names, types, or other field descriptions

# Optional matching fields
MatchingFields = list( set(UpdateFeatureClassFields).intersection(set(SearchFeatureClassFields)))

# update dictionary
UpdateRecords = { }
# search fields
MatchingFields = OIDField + MatchingFields
# specify search cursor
Searching = SearchCursor( SearchFeatureClass, MatchingFields )
with Searching as cursor:
    for row in cursor:
        UpdateRecords [ row[0] ] = row[1:]
# you can also use the search cursor in a single line as well if you did not know that
# UpdateRecords = { row[0]:row[1:] for row in Searching }

# update cursor
Updating = UpdateCursor( UpdateFeatureClass , MatchingFields )
# parent directory
ParentDirectory = os.pardir( UpdateFeatureClass )
# start editing featureclass
with Editor(ParentDirectory) as editor:
    with Updating as cursor:
        for row in cursor:
            if row[0] in UpdateRecords:
                recordupdates = UpdateRecords[ row[0] ]
                cursor.updateRow(recordupdates)&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;I am not quite sure what you are after but this should help depending on what you are trying to do.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 18:42:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329212#M68645</guid>
      <dc:creator>RPGIS</dc:creator>
      <dc:date>2023-09-15T18:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UpdateCursor - cannot updagte table</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329225#M68647</link>
      <description>&lt;P&gt;I'm not actually sure what to do as I mostly deal with the GDB format in my projects. The fact that your script is throwing an error before the cursor enters the table is the only thing that's tipping me off. If the error had something to do with updating a row incorrectly, it would be thrown on the cursor.updateRow line.&lt;/P&gt;&lt;P&gt;Is the permissions in gds connection files linked to the active machine? Or maybe you need to enable undo when connecting to an SDE? I'd try double checking your connection permissions and maybe trying to enable undo in the edit session.&lt;/P&gt;&lt;P&gt;Here's how I would structure that same code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy

connection = r"&amp;lt;CONNECTION PATH&amp;gt;"
fc = "CV_Valves"
fc_path = f"{connection}\\{fc}"

with arcpy.da.Editor(connection, with_undo=True, multiuser_mode=True) as edit:
    edit.startOperation()
    with arcpy.da.UpdateCursor(fc_path, ["OID@"]) as upd_cur:
        for row in upd_cur:
            print(f"Updating OID {row[0]}")
            upd_cur.updateRow(row)
    edit.stopOperation()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 19:08:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329225#M68647</guid>
      <dc:creator>HaydenWelch</dc:creator>
      <dc:date>2023-09-15T19:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UpdateCursor - cannot updagte table</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329227#M68648</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;BR /&gt;This is just to show the error that I'm encountering. The UpdateCursor is part of a larger script that will eventually update UniqueID numbers in a different field.&lt;BR /&gt;I'm not trying to update any OBJECTIDs, I just wanted this (very simplified) example to do something, and the outcome is the same, whether I actually update data or just print the OID on the screen: the program fails with the error message "unable to update table"&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 18:48:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329227#M68648</guid>
      <dc:creator>MarcSeliger</dc:creator>
      <dc:date>2023-09-15T18:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UpdateCursor - cannot updagte table</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329232#M68651</link>
      <description>&lt;P&gt;If your data is versioned, that might be your problem.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-questions/update-shape-x-and-shape-y-for-select-records/m-p/1321571/highlight/true#M68471" target="_blank" rel="noopener"&gt;To quote myself&lt;/A&gt;:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Update Cursors and versioned feature classes real&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/data-access/updatecursor-class.htm#:~:text=The%20following%20includes%20some%20dataset%20types%20that%20can%20only%20be%20edited%20within%20an%20edit%20session%3A" target="_blank" rel="noopener nofollow noreferrer"&gt;ly don't mix&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;You either have to open an edit session in arcpy (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/data-access/editor.htm" target="_blank" rel="noopener nofollow noreferrer"&gt;gross&lt;/A&gt;) or do the easier thing, which is to go through with a search cursor, create a dictionary of correct values, and then field calculate at the very end.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 15 Sep 2023 19:13:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329232#M68651</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2023-09-15T19:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UpdateCursor - cannot updagte table</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329233#M68652</link>
      <description>&lt;P&gt;It might either be a schema lock issue or a permissions issue. I have encountered those before and it is something that will prevent you from editing the table using any script.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 19:13:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329233#M68652</guid>
      <dc:creator>RPGIS</dc:creator>
      <dc:date>2023-09-15T19:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UpdateCursor - cannot updagte table</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329611#M68664</link>
      <description>&lt;P&gt;Alfred,&lt;BR /&gt;how is using the field calculator (&lt;SPAN&gt;arcpy.management.CalculateField&lt;/SPAN&gt;) different compared to using an update cursor? Wouldn't it throw the same or a similar error when I'm trying to update the field?&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 14:41:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329611#M68664</guid>
      <dc:creator>MarcSeliger</dc:creator>
      <dc:date>2023-09-18T14:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UpdateCursor - cannot updagte table</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329632#M68667</link>
      <description>&lt;P&gt;Nope.&amp;nbsp;So long as you have edit access to the data, you should be able to Field Calculate with no issue; the issue is specific to update cursors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Caveat here is whenever I'm working with versioned data, I'm using the python window to access a layer in my map, rather than accessing the datasource directly. (Connecting to an enterprise GDB outside of a map makes my head spin lol).&lt;/P&gt;&lt;P&gt;This was something I wrote a bit ago. We mass-added records to monitoring tables but didn't have anything set up to relate the records together; when appending into a table, the relIDs don't populate. So I wrote this to populate the relIDs based on the shared nestID in each table.&lt;/P&gt;&lt;P&gt;Further caveat is that I do &lt;STRONG&gt;not&lt;/STRONG&gt; use a best practice here: it is &lt;U&gt;&lt;STRONG&gt;not advised&lt;/STRONG&gt;&lt;/U&gt; to nest cursors like I did. It did work, though, and now I know better.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;aprx = arcpy.mp.ArcGISProject("CURRENT")
mp = aprx.activeMap
tbl = mp.listTables("RaptorMonitoring")[0]
lay = mp.listLayers("NestPoints")[0]

valDict = {}
checkList =[]
with arcpy.da.SearchCursor(tbl, ['Nest_ID','UUID']) as cursor:
    for row in cursor:
        #print(row[0])
        clause= f"Nest_ID = {row[0]}"
        with arcpy.da.SearchCursor(lay, ['Nest_ID', 'GlobalID']) as c2rsor:
            for r2w in c2rsor:
                #print(r2w[0])
                if(r2w[0] == row[0]):
                    valDict[row[0]] = r2w[1]
                if (r2w[0] == f"0{row[0]}"):
                    checkList.append(r2w)

#print(valDict)
#print("Checklist: ", checkList)
arcpy.management.CalculateField(tbl, 
                                'UUID', 
                                f"valDict.get(!Nest_ID!, !UUID!)", 
                                expression_type= 'PYTHON3')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Anyway, I beat my head against the update cursor a bunch before giving up, especially when dealing with opening an edit session. Calculating from a dictionary works great.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 15:17:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329632#M68667</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2023-09-18T15:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UpdateCursor - cannot updagte table</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329659#M68669</link>
      <description>&lt;P&gt;Thanks for your help Alfred, I will give this a try.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 15:48:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1329659#M68669</guid>
      <dc:creator>MarcSeliger</dc:creator>
      <dc:date>2023-09-18T15:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UpdateCursor - cannot updagte table</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1330407#M68704</link>
      <description>&lt;P&gt;You said it works in one "system" and not another.&amp;nbsp; Permission questions have already been asked, but you should also look the edition of ArcGIS Pro that one person has vs. the other.&amp;nbsp; Perhaps one has a Standard license but the other system uses a Basic license.&amp;nbsp; That would probably throw such an error.&lt;/P&gt;&lt;P&gt;I think I've received "Cannot update table" when one of the text field values was too large, but that wouldn't explain why one system could do it and the other couldn't.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 20:59:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1330407#M68704</guid>
      <dc:creator>RogerDunnGIS</dc:creator>
      <dc:date>2023-09-19T20:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with UpdateCursor - cannot updagte table</title>
      <link>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1640359#M74588</link>
      <description>&lt;P&gt;I had this same issue with InsertCursor, and it was nightmare to debug due to the uselessness of the error message! Thought I'd post in case it helps others.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;TypeError: cannot update the table&lt;/LI-CODE&gt;&lt;P&gt;I had two sets of tables, one in a LocalDatabase, which was a copy made as a File Database by right clicking in Pro and coping the tables, and another in a true RemoteDatabase (SQL server). I had no problems using the local data base, but got this error on the remote - exact same databases just one is for local testing in dev, etc.&lt;/P&gt;&lt;P&gt;My editor was like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;edit = arcpy.da.Editor(self.sde_path)
edit.startEditing(False, True)
edit.startOperation()
# errored here
with arcpy.da.InsertCursor(table_path, field_names) as cursor:
        ..
edit.stopOperation()
edit.stopEditing(True)&lt;/LI-CODE&gt;&lt;P&gt;The issue was this line: &lt;STRONG&gt;edit.startEditing(False, True)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The inputs where wrong and did not work with the non-versioned remote DB we had.&amp;nbsp;&lt;A href="Dochttps://pro.arcgis.com/en/pro-app/latest/arcpy/data-access/editor.htm#M2_GUID-AAE0637D-9CE2-4DAF-A306-BD21F61AF4FB" target="_self"&gt;Docs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed it to&amp;nbsp;&lt;STRONG&gt;edit.startEditing(True, False)&lt;/STRONG&gt; and it worked.&lt;/P&gt;&lt;P&gt;Rant: I get that the inputs were wrong for the setup, but how about a runtime error maybe describing the problem here? A generic python stack trace would be far superior to TypeError, when as far as I can see this is not even a TypeError at all! It's a ValueError. So misleading....&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 14:35:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-with-updatecursor-cannot-updagte-table/m-p/1640359#M74588</guid>
      <dc:creator>chris_del101</dc:creator>
      <dc:date>2025-08-08T14:35:25Z</dc:date>
    </item>
  </channel>
</rss>

