

The 400 bad request occurs on query operations where the continuation token is used if the continuation token has grown too large or if different queries have different continuation token sizes. Other consistency levels don't use the session token. The session token is only used for session consistency, which is the default consistency level for Azure Cosmos DB.
#Tsm 4 window too large update
The error occurs on point operations like create, read, and update where there isn't a continuation token.If the following statements are true, the session token is too large: Session token is too large Cause:Ī 400 bad request most likely occurs because the session token is too large.

The following sections describe the cause of the issue and its solution in each category. The "Request header too large" message occurs if the session or the continuation token is too large. Use at least version 3.x or 2.x, because these versions add header size tracing to the exception message. We recommend that you use the latest version of the SDK. This error occurs if the size of the request header has grown so large that it exceeds the maximum-allowed size.
#Tsm 4 window too large code
The "Request header too large" message is thrown with an HTTP error code 400.
