Why do I get "The request signature we calculated does not match the signature you provided." for GET but not PUT for OpenSearch?

Solution 1:

i also had this issue, using the same tutorial

reading the docs on request body searches, i found it states the following:

Note The _search API accepts HTTP GET and POST for request body searches, but not all HTTP clients support adding a request body to a GET request. POST is the more universal choice.

changing my method to POST solved the issue for me