cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are making some updates so the Community might be down for a few hours on Monday the 11th of November. Apologies for the inconvenience and thank you for your patience. You can find out more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

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

Vouzou
Explorer | Level 4

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?
Screen Shot 2022-06-16 at 2.23.53 PM.png

6 Replies 6

Greg-DB
Dropbox 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
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
Dropbox Staff

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

Vouzou
Explorer | Level 4

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.

g1st
Explorer | Level 4

Any updates on this? I'm still getting the same error `POST https://www.dropbox.com/log/file_preview 400 (Bad Request)` in the dev console.

Greg-DB
Dropbox Staff

@g1st No, I don't have an update on this.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    g1st Explorer | Level 4
  • User avatar
    Vouzou Explorer | Level 4
What do Dropbox user levels mean?