Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
My Dropbox files start to break after a while. I'm making a Laravel Application with the Spattie Dropbox Client to connect my Dropbox account to the system. So, when a user uploads an image from the web application, the shared link stores in the database; the issue comes when, after x days, my shared link is getting nothing. I logged into my account and realized that all of my files were broken. No one else is using my account. What's happening?
I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:
Uploading a file to Dropbox and Getting the shared link:
Function to get the shared link
Internal Dropbox Client function to generate the file's shared link
And it works perfectly, the shared link works, but after a while (1-2 days) the files stored in dropbox starts to broken. I thought the issue was caused by the shared link's default expiration, but i dont think so:
Thanks for following up with the additional information. So when you refer to the file being "broken", I see you're referring to the Dropbox web site being unable to preview the image.
The existence or expiration or a shared link shouldn't corrupt a file. If a shared link is no longer valid, the shared link page would no longer load at all; it wouldn't change the file data.
I suggest checking a few things:
1.- There´s nothing about removed files activity.
2.- The file's size changes.
3.-
4.-
There's nothing.
1. The file wouldn't necessarily have been removed. It seems like it may be edited.
2. If the file size changed, it sounds like it was edited at some point. You can check the version history of the file.
3. It's unclear what you're showing in the last screenshot. Is that you attempting to view the file on the Dropbox web site or locally after you downloaded it from the Dropbox web site? It may be helpful to inspect the contents in a text or binary editor locally to see what is in the file.
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.
Sound good? Let's get started.Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!