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
Issue: When creating a custom HTTP request to the AWS S3 endpoint, an error is encountered:
AuthorizationHeaderMalformed: The authorization header is malformed; the region 's3' is wrong; expecting 'us-east-1'us-east-1.
Details: Upon inspecting the error details, it was found that the authorization header is incorrect. Here is an example of the erroneous authorization header displayed in the error details:
In the authorization header, the service s3 is duplicated (/s3/s3/aws4_request) instead of specifying the region. It should be /us-east-1/s3/aws4_request.
Correct Example: The correct format for the authorization header should be as follows:
Bug Description
Issue: When creating a custom HTTP request to the AWS S3 endpoint, an error is encountered:
AuthorizationHeaderMalformed: The authorization header is malformed; the region 's3' is wrong; expecting 'us-east-1'us-east-1.
Details: Upon inspecting the error details, it was found that the authorization header is incorrect. Here is an example of the erroneous authorization header displayed in the error details:
In the authorization header, the service
s3
is duplicated (/s3/s3/aws4_request
) instead of specifying the region. It should be/us-east-1/s3/aws4_request
.Correct Example: The correct format for the authorization header should be as follows:
Fix the authorization header to include the appropriate region to resolve this issue.
To Reproduce
On a workflow:
"x-amz-copy-source":"/[bucket]/[filepath]"
,"x-amz-metadata-directive":"REPLACE"
,"content-type": "text/html"
Expected behavior
The file on the url should change the content type to text/html
Operating System
Ubuntu 22.04
n8n Version
v1.54.4
Node.js Version
v20.15.0
Database
PostgreSQL
Execution mode
main (default)
The text was updated successfully, but these errors were encountered: