{
"duration": 9010.69,
"size": 207892,
"status": 200,
"headers": {
"Cache-Control": "no-cache",
"content-encoding": "gzip",
"Content-Type": "application/json; charset=utf-8",
"Date": "Sat, 04 Jan 2025 16:24:43 GMT",
"expires": -1,
"pragma": "no-cache",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"timing-allow-origin": "*",
"vary": "Accept-Encoding",
"x-ms-apihub-cached-response": true,
"x-ms-apihub-obo": false,
"x-ms-client-tracking-id": "08584655990094421372403946145CU12",
"x-ms-correlation-id": "b7c0bce1-f21c-4070-bb5f-eda5757b8810",
"x-ms-dlp-gu": "-|-",
"x-ms-dlp-re": "-|-",
"x-ms-environment-id": "38e07919-055b-e52f-b0cc-6a471e46f8a4",
"x-ms-error-type": "UnknownError",
"x-ms-execution-location": "uksouth",
"x-ms-ratelimit-burst-remaining-workflow-writes": 1729,
"x-ms-ratelimit-remaining-workflow-download-contentsize": 123684844,
"x-ms-ratelimit-remaining-workflow-upload-contentsize": 123892246,
"x-ms-ratelimit-time-remaining-directapirequests": 11530895,
"x-ms-request-id": "uksouth:b7c0bce1-f21c-4070-bb5f-eda5757b8810",
"x-ms-tenant-id": "ccc263eb-4651-422e-a65b-2544ed58eada",
"x-ms-tracking-id": "b7c0bce1-f21c-4070-bb5f-eda5757b8810",
"x-ms-trigger-history-name": "08584655990094421372403946145CU12",
"x-ms-workflow-id": "7faab504132a42b79b7027e15f61eecb",
"x-ms-workflow-name": "23b8384e-6a8d-4e6b-96a2-1563922a46bb",
"x-ms-workflow-run-id": "08584655990094421372403946145CU12",
"x-ms-workflow-system-id": "/locations/uksouth/scaleunits/prod-20/workflows/7faab504132a42b79b7027e15f61eecb",
"x-ms-workflow-version": "08584656510578608945"
},
"body": {
"pdfbase64": "data:application/pdf;base64,JVBERi0xLjcNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFuZyhlbikg......"
},
"responseType": "json"
}
The PDF content is there, just not launching in the app.
Any Ideas?
- The Base64 data is definitely valid (confirmed by manual paste into the browser).
- I’m aware of potential browser or environment limitations on large data URIs, but my file is ~200 KB, which should be within typical limits.
- Pop-up blockers don’t appear to be triggered.
- I’ve tested in published mode (not just Preview) with the same result.
Has anyone encountered this issue or found a reliable workaround? I’ve seen suggestions like using Download() or temporarily storing the PDF in SharePoint, but I really prefer a direct “open in new tab” approach if possible.
Any advice would be greatly appreciated!