Forum Discussion

Vouzou's avatar
Vouzou
Explorer | Level 4
3 years ago

Using Dropbox Embedder and getting POST https://www.dropbox.com/log/file_preview 400 error

Hello,

I'm using the Dropbox embedder in Javascript


The preview works fine and I can see my files in the iframe but sometimes I get file_preview 400 error message. It doesn't seem to affect anything but I can see it in the developer console. Any idea how we can suppress these errors?

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

    This appears to be something we'd need to handle on our side. I'm sharing this with the team to see if we can clean that up, but I can't make any promises myself. I'll follow up here with any updates on that.

    • Vouzou's avatar
      Vouzou
      Explorer | Level 4

      Thank you so much. Also we noticed another thing during our testing. We have multiple UI elements that might or might not have Dropbox embedded content. Sometimes if there's a UI element with a Dropbox iframe the view automatically scrolls to that element after Dropbox has loaded the file. Is this something you could let the team know? Could we do something to prevent that behavior?

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

        Would you be able to share a sample page showing this issue so we can look into it? Thanks in advance!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,945 PostsLatest Activity: 18 minutes ago
351 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!