Skip to content
Discussion options

You must be logged in to vote

If anyone has this issue, the fix is simple. Locate items.py. In the save function, comment the following line:

#raise ValueError("'id' mismatch in returned update response")

Also, adjust the indentation of this line to be inside the if self.id conditional:

self._id = self.ID_ELEMENT_CLS(item_id, changekey)

Resulting in the following save function:

def save(self, update_fields=None, conflict_resolution=AUTO_RESOLVE, send_meeting_invitations=SEND_TO_NONE):
    from .task import Task

    if self.id:
        item_id, changekey = self._update(
            update_fieldnames=update_fields,
            message_disposition=SAVE_ONLY,
            conflict_resolution=conflict_resolution,
         …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Tre-Seibert
Comment options

Comment options

You must be logged in to vote
1 reply
@ecederstrand
Comment options

Answer selected by Tre-Seibert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants