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
I keep getting status 400 with following response.
<?xml version="1.0" encoding="UTF-8"?>\n<Error><Code>InvalidArgument</Code><Message>Malformed Unicode code sequence in the field.</Message><ArgumentName>formField</ArgumentName><RequestId>CA9372E2E9C1B13C</RequestId><HostId>pVNYeynJARTc5TCf/Gk9MPiY0bgaPpre8Fade6lgbx/aUbUm26X4LCfkXershgXwgDIFDhA9to0=</HostId></Error>
Am i missing anything?
Complete code:
`uploadFiles.push(this.state.files[i]);
let s3_opts = {
bucket: 'bridalbible',
region: 'us-east-1',
key: 'YYY',
secret: 'XXXX',
type: 'image/jpeg',
path: 'profile/',
acl: 'public-read',
expires: new Date(Date.now() + 60000),
length: 10485760, // 10M as maximal size
};
let p = s3_policy(s3_opts);
// console.log(p.policy);
// console.log(p.signature);
I keep getting status 400 with following response.
<?xml version="1.0" encoding="UTF-8"?>\n<Error><Code>InvalidArgument</Code><Message>Malformed Unicode code sequence in the field.</Message><ArgumentName>formField</ArgumentName><RequestId>CA9372E2E9C1B13C</RequestId><HostId>pVNYeynJARTc5TCf/Gk9MPiY0bgaPpre8Fade6lgbx/aUbUm26X4LCfkXershgXwgDIFDhA9to0=</HostId></Error>
Am i missing anything?
Complete code:
`uploadFiles.push(this.state.files[i]);
let s3_opts = {
bucket: 'bridalbible',
region: 'us-east-1',
key: 'YYY',
secret: 'XXXX',
type: 'image/jpeg',
path: 'profile/',
acl: 'public-read',
expires: new Date(Date.now() + 60000),
length: 10485760, // 10M as maximal size
};
let p = s3_policy(s3_opts);
// console.log(p.policy);
// console.log(p.signature);
The text was updated successfully, but these errors were encountered: