Copy link to clipboard
Copied
I'm experiencing an error when trying to use the SDK and initialise the adobe pdf viewer. The following function call:
var adobeDCView = new AdobeDC.View({clientId: "MY ID"});
returns the following error:
POST https://dc-api.adobe.io/system/log net::ERR_BLOCKED_BY_CLIENT
executor @ dc-core.js:2
call @ dc-core.js:2
forEach.n.exports.http.<computed> @ dc-core.js:2
_logWithoutAuth @ dc-core.js:2
_logToServer @ dc-core.js:2
serverBatchHandler @ dc-core.js:2
batchHandler @ ViewSDK.js:1
flushLogs @ dc-core.js:2
(anonymous) @ dc-core.js:2
Promise.then (async)
(anonymous) @ dc-core.js:2
configure @ dc-core.js:2
(anonymous) @ ViewSDK.js:1
Promise.then (async)
initDCLogging @ ViewSDK.js:1
(anonymous) @ ViewSDK.js:1
Promise.then (async)
_checkForCore @ ViewSDK.js:1
initialize @ ViewSDK.js:1
Wgcd._createClass._initialize @ ViewSDK.js:1
Wgcd._createClass.execute @ ViewSDK.js:1
MessageReceiver._messageReceived @ ViewSDK.js:1
_receiveMessageHelper @ ViewSDK.js:1
Am I doing something incorrectly?
The domain is a Microsoft Power Portals website and I double checked that I have registered the powerapps portal URL correctly.
Copy link to clipboard
Copied
AdobeError {code: 0, message: 'Timeout or network error', details: {…}, stack: 'AdobeError: Timeout or network error (0)\nDetails: …ces.adobe.com/dc-core/2.31.1/dc-core.js:2:429365)'}
code
:
0
details
:
{status: 0, statusText: 'Timeout or network error', headers: {…}, content: ''}
message
:
"Timeout or network error"
stack
:
"AdobeError: Timeout or network error (0)\nDetails: {\"status\":0,\"statusText\":\"Timeout or network error\",\"headers\":{},\"content\":\"\"}\n at new AdobeError (https://documentservices.adobe.com/dc-core/2.31.1/dc-core.js:2:220623)\n at s.onreadystatechange (https://documentservices.adobe.com/dc-core/2.31.1/dc-core.js:2:429365)"
[[Prototype]]
:
Error
Copy link to clipboard
Copied
Sadly there's no option to edit comments so I'll just reply to myself here. I added an additional log above.