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
TypeError: Method must be a valid HTTP token ["a invalid http method here"]
at new NodeError (node:internal/errors:387:5)
at new ClientRequest (node:_http_client:215:13)
at Object.request (node:https:357:10)
at HttpConnector.request (/Users/ihailong/code/OpenSearch-Dashboards/node_modules/elasticsearch/src/lib/connectors/http.js:182:23)
at sendReqWithConnection (/Users/ihailong/code/OpenSearch-Dashboards/node_modules/elasticsearch/src/lib/transport.js:263:35)
at Object.utils.applyArgs (/Users/ihailong/code/OpenSearch-Dashboards/node_modules/elasticsearch/src/lib/utils.js:188:19)
at wrapper (/Users/ihailong/code/OpenSearch-Dashboards/node_modules/lodash/lodash.js:5255:19)
at processTicksAndRejections (node:internal/process/task_queues:78:11)
server crashed with status code 1
What is the expected behavior?
A clear and concise description of what you expected to happen.
What is your host/environment?
OS: [e.g. iOS]
Version [e.g. 22]
Plugins
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered:
What is the bug?
ApiCaller don't do validation on http method. when we pass an invalid http method in request body that cause dashboard server crash
How can one reproduce the bug?
What is the expected behavior?
A clear and concise description of what you expected to happen.
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: