The Community is undergoing a major upgrade. Find out more, ask us questions or share your thoughts here.
Forum Discussion
superheroEK
2 years agoExplorer | Level 4
Dropbox embedder
Hi, i'm using the new dropbox embedder. I've made the folder as shared folder. But inside the folders, I have also sub folders. The issue is the sub folders cannot be accessed. How to fix this ? Erro...
- 2 years ago
superheroEK Thanks, that's helpful. I've looked into your Embedder setup, and I see this is failing because of the use of a type of shared link not meant for use with the Dropbox Embedder.
Specifically, your Embedder is configured with an "edit" shared link (with "/scl/fo" in the URL), however the Embedder is meant for use with "view" shared links (with "/sh" in the URL).
I'll ask the team to see if we can update the Embedder to fully support edit links like that, but to avoid these issues, please replace the edit link with a view link. You can find information on creating shared links here.
Здравко
Legendary | Level 20
Hi superheroEK,
If you "want to copy: https://ceridap.eu/en/documents-on-the-covid-19-emergency/", then just copy it. 😉 The following is part of that page responsible for link embedding (as is; together with the link):
<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="cdoxsqm1vtmhued"></script>
<a href="https://www.dropbox.com/sh/znsbu621inr1k1x/AACBdpg6jAlf-rliJwOkT_q2a" class="dropbox-embed" data-height="500px"></a>
That's it - just put it on suitable place. The error you receive shows that you're using different link (probably with limited access). Make sure you can access the link, you're using, in private browsing mode! 👈 Otherwise it won't work. If needed, change to public access permission.
Hope this helps.
Greg-DB
2 years agoDropbox Staff
superheroEK As Здравко said, it sounds like this is due to the link you're using. If this still isn't working for you, please share the code/link you're using so we can take a look.
- superheroEK2 years agoExplorer | Level 4
https://theme.htmlly.com/2/dropbox-2/
-- this is my dropbox.
I want it to behave like https://ceridap.eu/en/documents-on-the-covid-19-emergency/, so when clicking sub folders, it can open the sub folder.
The problem is I can only create main folder as shared folder. But when creating the sub folders, there is no option to create as shared folder. So how to make the sub folders accessible like in that sample website ?
- Greg-DB2 years agoDropbox Staff
superheroEK Thanks, that's helpful. I've looked into your Embedder setup, and I see this is failing because of the use of a type of shared link not meant for use with the Dropbox Embedder.
Specifically, your Embedder is configured with an "edit" shared link (with "/scl/fo" in the URL), however the Embedder is meant for use with "view" shared links (with "/sh" in the URL).
I'll ask the team to see if we can update the Embedder to fully support edit links like that, but to avoid these issues, please replace the edit link with a view link. You can find information on creating shared links here.- superheroEK2 years agoExplorer | Level 4
Many thanks, Greg. That appears to solve the issue. I didn't know that the default for share link apparently is with edit access.
I have changed it to view access and it's working now. Many thanks for your assistance 🙂
Another small issue, sometimes the title stucked as "Loading..." like this: https://prnt.sc/9IodXXbd3yOV.
Check out the sample on this page:
https://theme.htmlly.com/2/dropbox/
Is it because of cache ? How do I clear it so it displays the proper title again ?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 52 minutes agoIf 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!