You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

antoniooi's avatar
antoniooi
Helpful | Level 5
3 years ago

Embedder Error: Minified React error #31

Before today, everything still fine. The Dropbox embedder suddenly gives the following the errors in the browser console, no PDF file is rendered:

 

Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=%5Bobject%20HTMLDivElement%5D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at qt (pkg-react.min-vfl8RSs1W.js:1:29873)
at p (pkg-react.min-vfl8RSs1W.js:1:31522)
at y (pkg-react.min-vfl8RSs1W.js:1:32629)
at pkg-react.min-vfl8RSs1W.js:1:34654
at zn (pkg-react.min-vfl8RSs1W.js:1:41068)
at yc (pkg-react.min-vfl8RSs1W.js:1:110473)
at xr (pkg-react.min-vfl8RSs1W.js:1:62111)
at kr (pkg-react.min-vfl8RSs1W.js:1:62036)
at pr (pkg-react.min-vfl8RSs1W.js:1:59376)
at hc (pkg-react.min-vfl8RSs1W.js:1:108988)

 

For full errors, please visit this page and inspect the console errors. Below is the extract code just to show how I embed the PDF file stored in Dropbox:

 

<a id="pdfContainer" href="https://www.dropbox.com/s/duau5yelsz7kx0s/using-dropbox-with-cloudworms.pdf?dl=0" class="dropbox-embed" data-height="100vh" data-download="https://www.dropbox.com/s/duau5yelsz7kx0s/using-dropbox-with-cloudworms.pdf?dl=1"></a>

<script defer type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="h5a1mgbx1cyrryo"></script>

 

May I know what happen or is there any change of implementation that I should follow in order to fix the above errors? Thanks in advance!

 

Antonio

  • The Embedder should be working again now. Please let us know if you're still seeing any issues. Thanks!

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for the report! We'll look into it and follow up here with updates.

    • antoniooi's avatar
      antoniooi
      Helpful | Level 5

      Hi Greg,

       

      Thanks for the response! If possible, try to get rid of the warning messages shown in the browser console also as they may affect our SEO performance. FYI, our CloudWorms PDF Viewers are trying to promote Dropbox to our users as it does not have the limitations that Google has, e.g. rendering of images stored in Dropbox. We hope that Dropbox can expedite the fixes for our mutual success. We're willing do anything necessary at our side for best performance.

       

      Thank you.

       

      Best regards,

      Antonio

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        Thanks for the note. This is open with engineering. I'll follow up here once I have news.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API

Make connections with other developers

795 PostsLatest Activity: 2 days ago
193 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!