Error when using S3 SDK: ReferenceError: FileReader is not defined
As per the title. I am getting a reference error when performing a DeleteCommand using the s3 client. The actual request is fine, but the client response has a body of type Blob; size 0. I think the client then throws an error as it tries to parse the blob with the FileReader api which doesn't exist in workerd?
Has anyone else encountered a similar issue to this? I can work around it by just catching the error but that feels pretty weird.
0 Replies