Forum Discussion

Vouzou's avatar
Vouzou
Explorer | Level 4
4 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?

6 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    4 years ago

    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
    4 years ago

    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 Community Moderator rankDropbox Community Moderator
    4 years ago

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

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

    Thanks for you response. Our platform doesn't allow external users at the moment so we'll keep an eye on it and if we can consistently reproduce it I'll try to share something with you in the future.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!