使用 AWS S3 存储桶的授权错误

node s3_listbuckets.js

Error TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Authorization"]

    at ClientRequest.setHeader (_http_outgoing.js:470:3)

    at new ClientRequest (_http_client.js:219:14)

    at Object.request (https.js:305:10)

    at features.constructor.handleRequest 

...

XXX

... 

{

  message: 'Invalid character in header content ["Authorization"]',

  code: 'NetworkingError',

  region: 'XXX',

  hostname: 's3.XXX.amazonaws.com',

  retryable: true,

  time: XXX

}


慕丝7291255
浏览 449回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript