Hello,
We are trying to PUT and subsequently GET binary files in S3.
The filename contains special encodings like shown in example below

S3 download fails with below error

<Code>InvalidArgument</Code>
<Message>Header value cannot be represented using ISO-8859-1.</Message>
<ArgumentName>response-content-disposition</ArgumentName>

File Name:

Relationship among Negative Peer Pressure, engagement among secondary
school students’ in Assosa Zone, West of Ethiopia.doc

BinaryDownloadOptions.builder().withFileName(fileName)

Kindly let us know how to correctly upload/download files by using
content-disposition/

Thank you,
Mayur

Reply via email to