-
Notifications
You must be signed in to change notification settings - Fork 421
Description
[WARN] bolt-app http request failed Invalid character in header content ["User-Agent"]
[WARN] bolt-app http request failed Invalid character in header content ["User-Agent"]
[ERROR] socket-mode:SocketModeClient:0 Failed to retrieve a new WSS URL (error: TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["User-Agent"])
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["User-Agent"]
at ClientRequest.setHeader (node:_http_outgoing:655:3)
at new ClientRequest (node:_http_client:286:14)
at Object.request (node:https:378:10)
at dispatchHttpRequest (D:\test1\node_modules\axios\dist\node\axios.cjs:3344:21)
at D:\test1\node_modules\axios\dist\node\axios.cjs:2933:5
at new Promise ()
at wrapAsync (D:\test1\node_modules\axios\dist\node\axios.cjs:2913:10)
at http (D:\test1\node_modules\axios\dist\node\axios.cjs:2999:10)
at Axios.dispatchRequest (D:\test1\node_modules\axios\dist\node\axios.cjs:4553:10)
at Axios.request (D:\test1\node_modules\axios\dist\node\axios.cjs:4713:41)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'ERR_INVALID_CHAR'
}
{
"name": "test",
"version": "1.0.0",
"description": "",
"license": "ISC",
"author": "",
"type": "module",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"dependencies": {
"@slack/bolt": "^4.6.0",
"axios": "^1.13.2",
"axios-cookiejar-support": "^6.0.5",
"dotenv": "^17.2.3",
"tough-cookie": "^6.0.0"
}
}