Callum
Callum
Explore posts from servers
CDCloudflare Developers
Created by Callum on 6/12/2024 in #workers-help
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.
1 replies
CDCloudflare Developers
Created by Callum on 4/4/2024 in #pages-help
Service Binding not appearing in worker dashboard
As per the title, I am having some trouble setting up a service worker from my pages app. In the Pages app cloudflare dashboard I can see the binding has been setup, however when I go to triggers in the worker dashboard, the bindings are empty:
No other Services bind to markdown-worker. To invoke this from another Service, add a Service Binding from that Service's Settings > Variables page
Is there any advice here? since the connection was made through the dashboard I am not sure what else to do to create the connection.
4 replies