You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are continuously addressing and improving the SDK, if possible, make sure the problem persist in the latest SDK version.
Describe the bug
When queryable includes a Skip() method, feedIterator.ReadNextAsync throws an ArgumentOutOfRangeException
To Reproduce
Use Microsoft.Azure.Cosmos 3.47.0
Create the queryable: var queryable = container.GetItemLinqQueryable().Skip(1);
Get the feediterator: ver feediterator = queryable.ToFeedIterator();
Get the feedresponse: var feedresponse = await feediterator.ReadNextAsync();
Exception is thrown:
An exception of type 'System.AggregateException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'One or more errors occurred.'
Inner exceptions found, see $exception in variables window for more details.
Innermost exception System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values. (Parameter 'Value')
Expected behavior
No exception. Valid feedresponse is returned and items can be enumerated.
This is the behavior in 3.46.1.
Actual behavior
An exception of type 'System.AggregateException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'One or more errors occurred.'
Inner exceptions found, see $exception in variables window for more details.
Innermost exception System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values. (Parameter 'Value')
Environment summary
SDK Version: 3.47.0
OS Version (e.g. Windows, Linux, MacOSX): macOS Sequoia 15.3
Additional context
feediterator queryspec looks like this: SELECT VALUE root FROM root OFFSET 1 LIMIT 2147483647
The text was updated successfully, but these errors were encountered:
Describe the bug
When queryable includes a Skip() method, feedIterator.ReadNextAsync throws an ArgumentOutOfRangeException
To Reproduce
Use Microsoft.Azure.Cosmos 3.47.0
Create the queryable: var queryable = container.GetItemLinqQueryable().Skip(1);
Get the feediterator: ver feediterator = queryable.ToFeedIterator();
Get the feedresponse: var feedresponse = await feediterator.ReadNextAsync();
Exception is thrown:
An exception of type 'System.AggregateException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'One or more errors occurred.'
Inner exceptions found, see $exception in variables window for more details.
Innermost exception System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values. (Parameter 'Value')
Expected behavior
No exception. Valid feedresponse is returned and items can be enumerated.
This is the behavior in 3.46.1.
Actual behavior
An exception of type 'System.AggregateException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'One or more errors occurred.'
Inner exceptions found, see $exception in variables window for more details.
Innermost exception System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values. (Parameter 'Value')
Environment summary
SDK Version: 3.47.0
OS Version (e.g. Windows, Linux, MacOSX): macOS Sequoia 15.3
Additional context
feediterator queryspec looks like this: SELECT VALUE root FROM root OFFSET 1 LIMIT 2147483647
The text was updated successfully, but these errors were encountered: