Azure / azure-cosmosdb-node

We recently announced deprecation of JS v1 SDK and this repo. Starting September 2020 Microsoft will not provide support for this library. Existing applications using library will continue to work as-is. We strongly recommend upgrading to @azure/cosmos library.
https://github.com/Azure/azure-sdk-for-js
MIT License
141 stars 108 forks source link

continuation token not working when querying cosmos db by invoke rest method #255

Closed inos2006 closed 5 years ago

inos2006 commented 5 years ago

I have thousands of data that I am querying from cosmos db with invoke rest method. I wanted to keep "x-ms-max-item-count" = 1000 and use x-ms-continuation to get to the next page when my PowerShell script run for the next time. But it is throwing 400 bad request. How do I fix it or is there any limitation of the cosmos db over the rest api call?

southpolesteve commented 5 years ago

We have recently announced deprecation version 1.x of the Azure Cosmos JavaScript SDK. We will end support for the documentdb package and this repo on August 30, 2020. Please update to our new package @azure/cosmos as soon as possible. If you encounter any issues, you can raise them in the Azure central SDK repo. If something is preventing you from upgrading to the latest version of the SDK, you can always email me directly: stfaul@microsoft.com