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
Hi @dblock as discussed internally, this is a service-side issue. Did you want to keep this open for tracking purposes while we wait for the team to fix it?
Hi @dblock as discussed internally, this is a service-side issue. Did you want to keep this open for tracking purposes while we wait for the team to fix it?
The JavaScript sample in https://github.com/awsdocs/amazon-opensearch-service-developer-guide/blob/master/doc_source/serverless-clients.md doesn't work for OpenSeearch serverless.
Code: https://github.com/dblock/opensearch-node-client-demo/tree/opensearch-serverless-docs
The sample signs the body and forces a content-length of 0, as per the documentation. That broke at some point since preview. Removing the content body and not signing a content-length header works around it, see https://github.com/dblock/opensearch-node-client-demo/blob/opensearch-serverless-aws-sdk2/src/index.ts.
The text was updated successfully, but these errors were encountered: