Hello @MartinJaffer-MSFT , thank you for giving attention to my concern.
Let me explain my problem more clearly with an example-
Lets say we have 4 files in a particular directory and I've set maxResults to 1.
So at the initial call it will give me the first file and a corresponding continuation token as part of the response headers.This answers your 4th question that it is successful always on the first try.
Now lets suppose we are on the 2nd file currently and after the call in response the token is returned.
Now what has been observed is that there are 3 types of token returned:-
Type 1) VBbTpf35gZiDzncYJRgMZGlyZWN0b3J5MS0xFrrXyoP5ur3YAxgAFrDyovnH17bYAwAA
this type of token works fine and gives me the third file if used.
Type 2) VBaupLnSjvHc1dcBGCUYDGRpcmVjdG9yeTEtMRbKxrnfmbu92AMYABaw8qL5x9e22AMAAA==
SCENARIO 1 ) This token should ideally give me the 3rd file but it behaves abnormaly and gives me the 1st file again when used with the "==" in the uri.
SCENARIO 2) When I try to make a call after escaping the "==", it works fine.
Type 3) VBa5ma+h+pryy8EBGCUYDGRpcmVjdG9yeTEtMRaW75jYmLu92AMYABaw8qL5x9e22AMAAA==(you can see the additional '+' in the uri)
SCENARIO 1) This behaves same as it did in Type 2
SCENARIO 2) When i try to escape the "==" from the uri it give me this message "Server encountered an internal error. Please try again after some time.\n"
I think its because of the extra encoded characters in the token.
Now answering to your questions..
- The api version used is-'2019-02-02'
- The occurance of this error is 1 in 10.
Hope the 3rd and 4th questions are being answered by the example.
A help would be much appreciable.
Thank You