Skip to content

Internal Server Error due to wrong Request Content-Type [JIRA: RCS-151] #1091

@pmarques

Description

@pmarques

Hi, I was trying to use node-aws-sdk to set bucket policies but the SDK sends the request with the wrong Content-Type, "application/octet-stream". I'm not sure if there is something wrong on my side or if AWS S3 also supports this since it is its SDK.

To find the problem I was digging in the SDK code because the server response is just a 500 Internal Server Error. It could be nice to return at least something like "Unaccepted Content-Type in request".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions