I'm trying to logout file information that is being uploaded through the browser with a chrome extension. In V3.
Minimal steps to reproduce:
background.js
chrome.webRequest.onBeforeRequest.addListener(
  (details) => {
    if (details.method.toUpperCase() !== "POST") return;
    if (!details.requestBody) return;
    if (details.url.includes("put_block")) {
      console.log(details);
    }
  },
  { urls: ["<all_urls>"] },
  ["requestBody"]
);
console.log:
{
...
requestBody: { error: 'Unknown error.' },
...
}
- I'm testing my extension by uploading images to dropbox
- When looking at the network tab I can see a post-request with this payload to:
https://dl-web.dropbox.com/put_block_returning_token?...
requestBody: { error: 'Unknown error.' },
how come I can't get anything meaningful in the service worker?

