Hi all, I’ve just upgraded from 0.190.0 to 0.193.5 and now for my AWS Credentials I’m getting the below error: “Couldn’t connect with these settings - UNKNOWN ERROR - check the detailed error for more information”
The full error log is below:
TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received an instance of Object
at new NodeError (node:internal/errors:387:5)
at Function.byteLength (node:buffer:740:11)
at RequestSigner.prepareRequest (C:\Users\mkay\AppData\Roaming\npm\node_modules\n8n\node_modules\aws4\aws4.js:149:44)
at RequestSigner.sign (C:\Users\mkay\AppData\Roaming\npm\node_modules\n8n\node_modules\aws4\aws4.js:169:30)
at aws4.sign (C:\Users\mkay\AppData\Roaming\npm\node_modules\n8n\node_modules\aws4\aws4.js:372:50)
at Aws.authenticate (C:\Users\mkay\AppData\Roaming\npm\node_modules\n8n\node_modules\n8n-nodes-base\dist\credentials\Aws.credentials.js:338:29)
at CredentialsHelper.authenticate (C:\Users\mkay\AppData\Roaming\npm\node_modules\n8n\dist\src\CredentialsHelper.js:32:39)
at Object.httpRequestWithAuthentication (C:\Users\mkay\AppData\Roaming\npm\node_modules\n8n\node_modules\n8n-core\dist\src\NodeExecuteFunctions.js:821:65) {
code: 'ERR_INVALID_ARG_TYPE'
}
I’ve tried doing a fresh install and creating brand new credentials but the same error is thrown. If I roll back to 0.190.0 I’m able to create the credentials with no errors thrown. Does anybody know how I can fix this?
Information on your n8n setup
- n8n version: 0.193.5
- Database you’re using (default: SQLite): SQLite
- Running n8n with the execution process [own(default), main]: own
- Running n8n via [Docker, npm, n8n.cloud, desktop app]: npm