We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

jonokivex's avatar
jonokivex
Helpful | Level 5
10 months ago

'View on dropbox' PDF embed returning Error 400

Greetings, Visit: https://www.arclab.space/f/dropbox-pdf-test (password is password) The PDF displays fine, but the 'view on dropbox' link returns error 400. This happens with all links, site-wid...
  • Здравко's avatar
    10 months ago

    Hi jonokivex,

    It's an easy workaround - just drop the last link parameter - "&dl=0". 😉 That's where your issue is coming from. Just put in your page something like:

     

    Dropbox.embed({link: "https://www.dropbox.com/scl/fi/uhd2iaccfc7szs9oa1tny/AL01-0301_77A-BELL-ROAD_EXISTING-SITE-PLAN-A_REV-A.pdf?rlkey=5eyu4p6ysx8zksely5tum6q3z"}, document.getElementById('dropbox-embed-container'));

     

    Hope this helps.

     

    By the way your application is not yet passed production approval despite there are too many "developers" already. Good luck.

     

    PS: When you put something in your website, use url-encoding only when needed, not everywhere!!! In particular encoding the ampersand makes your link invalid when opened later. URL-encode is usable when nesting one link in another, for instance - which is not the case now - you're passing the link as parameter (Embedder takes care for encoding whenever needed).