Outlook REST API 410 Error: SyncStateNotFound RRS feed

  • Question

  • {\"code\":\"SyncStateNotFound\",\"message\":\"The sync state 
    generation is not found; generation=1;[highest=4][4][2][3].\"}

    This occurs deterministically for syncing messages from certain mailfolders for certain accounts. Here's how I reproduce:

    1) Initial Message Sync

    2) Sync with initial delta token

    3) Sync with skip token until delta token

    4) ERROR OCCURS HERE: Mailfolder receives update, so I re-sync messages with delta token from (3). The call throws a 410 and I can't sync messages.

    Note: I've isolated this to just testing in the outlook sandbox, and it still occurs. Testing as in making the GET call to sync (i.e., make perform (2)) using the deltaToken from (3) and its corresponding folderId as query parameters.

    • Edited by bewallyt Thursday, June 1, 2017 4:45 PM
    Thursday, June 1, 2017 4:35 PM

All replies