engine icon indicating copy to clipboard operation
engine copied to clipboard

PDF not downloadable with `executeClientScripts`

Open martinratinaud opened this issue 2 years ago • 0 comments

Sometimes, a PDF file is added and receives a 403 when fetching HTML.

{
  "name": "Octopia",
  "documents": {
    "Commercial Terms": {
      "fetch": "https://seller.octopia.com/DocumentCgmad/20220101/1ab59132-f68f-4cd8-ae3f-1c2d62c21710?ext=.pdf"
    }
  }
}

Next step is usually to try to executeClientScripts and when we do, we get a net::ERR_ABORTED error

{
  "name": "Octopia",
  "documents": {
    "Commercial Terms": {
      "fetch": "https://seller.octopia.com/DocumentCgmad/20220101/1ab59132-f68f-4cd8-ae3f-1c2d62c21710?ext=.pdf",
      "executeClientScripts": true
    }
  }
}

martinratinaud avatar Sep 14 '22 13:09 martinratinaud