Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Multiple errors and warnings with Adobe Embed API in React

New Here ,
Sep 06, 2024 Sep 06, 2024

Hi!

We are planning to integrate the Adobe Embed API in our React application and for this I implemented a testcomponent based on the codeexample in the docs.

 

The viewer fullfilles our requirements and works. No it is time to get rid of all the warnings and errors in the browser console.

 

iframe.html:1

The Content-Security-Policy directive 'default-src' contains the keyword 'none' alongside with other source expressions. The keyword 'none' must be the only source expression in the directive value, otherwise it is ignored.

The Content-Security-Policy directive 'form-action' contains the keyword 'none' alongside with other source expressions. The keyword 'none' must be the only source expression in the directive value, otherwise it is ignored.

 

pageSelectors.js:22

[mobx.array] Attempt to read an array index (0) that is out of bounds (0). Please check length first. Out of bound indices will not be tracked by MobX

happens multiple times...

 

printHelper.html:1

The Content-Security-Policy directive 'worker-src' contains the keyword 'none' alongside with other source expressions. The keyword 'none' must be the only source expression in the directive value, otherwise it is ignored.

 

Please see the attached screenshot, too.

I searched for the error messages but was not able to find a solution for them. As I mention, the viewer is working but I appreciate all tipps how I can get rid of these.

TOPICS
PDF Embed API
469
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 30, 2024 Oct 30, 2024

Just curious if you've had any resolution to this as we're getting the same thing, specifically the MobX errors.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 04, 2024 Nov 04, 2024
LATEST

Hi!

I am sorry, but we still struggle with the error messages. I still hope to get some response here because all error messages occure in files which are downloaded from the API.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources