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 get an UnknownError (413) from the client when trying to search with a lot of clauses. Although it should still be below the 8kb limit specified in the documentation.
In the aws v2 sdk there was a similar issue here in which the get request for the search domain was transformed to a post request.
Because of this issue we were forced to downgrade the search client form the v3 sdk to v2.
Thanks for reaching out and for providing the context. In the new SDKs we are moving away from hand written customizations since they are creating feature parity gaps (as seen here). The behavior of this operation working correctly with POST and not with GET points to a service side problem.
I have created an internal ticket with the OpenSearch service team to try and address this P117425632 and will move this to the cross SDK repo for tracking.
Checkboxes for prior research
Describe the bug
We get an UnknownError (413) from the client when trying to search with a lot of clauses. Although it should still be below the 8kb limit specified in the documentation.
In the aws v2 sdk there was a similar issue here in which the get request for the search domain was transformed to a post request.
Because of this issue we were forced to downgrade the search client form the v3 sdk to v2.
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v18.16.0
Reproduction Steps
Observed Behavior
UnknownError {"name":"413","$fault":"client","$metadata":{"httpStatusCode":413,"attempts":1,"totalRetryDelay":0},"message":"UnknownError"}
Expected Behavior
Transform the get request to a post request on large queries
Possible Solution
See here
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: