Want to know more about Dash? Check out how Amy uses Dropbox and Dash to make her day easier here!
Forum Discussion
DD214Alum
23 days agoExplorer | Level 4
Error 400 when sharing file link
I've uploaded an image file. Ensured that anybody with a link can view the image. Shared the link.
Anybody that clicks on the link, including myself, is met with an Error 400 "Something went wrong" message when clicking said link.
Any insight would be very much appreciated.
Link in question:
[link removed by moderator to prevent excessive traffic]
DD214Alum wrote:
When clicking the link, an "amp:" is being added after each of the & symbols in the URL.
Actually, each & is being replaced with &. The ampersand is one of those special characters that needs to be escaped when used in HTML, and it seems the platform you're using is doing that automatically. This Reddit comment explains it in more detail.
Since this isn't a Dropbox issue and you don't control the platform you're posting the links on, your best option would be to use a URL shortener service and post the shortened URL instead.
6 Replies
- DD214Alum23 days agoExplorer | Level 4
Somewhat ironically, I can view it when I copy/paste the url, but not when it's linked.
As it turns out, I may have used my HTML tags incorrectly. Please see below. What have I done wrong here?
[url=https://www.dropbox.com/scl/fi/lkxqz4m1bqdmubvyiqeaf/Elevator-Bug.png?rlkey=lhi6qf01vaul6a35pytgxm6av&st=98fo0815&dl=0]Image here.[/url] - Rich23 days ago
Super User II
DD214Alum wrote:
Somewhat ironically, I can view it when I copy/paste the url, but not when it's linked.
Either the link was altered when added to whatever platform you have it in, or the platform is altering the link when displaying it to the user. I would click the link so it brings you to the 400 error page, then copy and paste the URL from address bar into a text file, then paste the URL that you know works and compare the two.
- DD214Alum23 days agoExplorer | Level 4
Ok, turns out, that's exactly what's happening.
When clicking the link, an "amp:" is being added after each of the & symbols in the URL. Any thoughts on why that may be happening, and how to make it stop?
For context this URL is being posted on Steam forums. - Rich23 days ago
Super User II
DD214Alum wrote:
When clicking the link, an "amp:" is being added after each of the & symbols in the URL.
Actually, each & is being replaced with &. The ampersand is one of those special characters that needs to be escaped when used in HTML, and it seems the platform you're using is doing that automatically. This Reddit comment explains it in more detail.
Since this isn't a Dropbox issue and you don't control the platform you're posting the links on, your best option would be to use a URL shortener service and post the shortened URL instead.
- DD214Alum23 days agoExplorer | Level 4
Great, thanks! I much appreciate the information!
- T_theresa_A21 days ago
Community Manager
Hey there DD214Alum and welcome to the Dropbox Community. I am happy to see you have been able to get your links working once again thanks to our Super User Rich 's amazing help.
My name is Theresa and I'm one of the Community managers here at Dropbox. I love to hear the different ways people use Dropbox. If you're up for sharing I would love to hear your Dropbox story.
Looking forward to hearing from you,T 😺 (Dropbox Community Manager)
About Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.
Need More Support
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 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!