I'm trying to upload files with Service worker BackgroundFetch api(with Chrome 102.0.5005.61) and aws-sdk library(version 2.828.0).
First, I had to patch aws-sdk to work with browser fetch apias described here, and it worked well.Then when I replaced window.fetch with SW background fetch it fails with "backgroundfetchfail" event(BackgroundFetchUpdateUIEvent) showing that BackgroundFetchUpdateUIEvent.registration.failureReason is "fetch-error". no info besides that...please if anyone knows how to get more info? might be some request header generated by aws-sdk that fails the request?