Comments
-
Thanks for the additional information, it's very helpful. The /1/files (POST) endpoint is an old upload method on the Core API, a.k.a. API v1. That endpoint is technically supported, and it looks like its behavior did change, which we're looking in to. However, we do strongly recommend using /1/files_put instead, as it's…
-
Thanks for the additional report Freddie. Can you share the relevant code? That would help us reproduce the track down the issue.
-
Can you share some sample code to reproduce the issue? Thanks in advance!
-
That path parameter isn't a filter, exactly. Rather, the documentation also says: "If a non-empty path is given, returns a list of all shared links that allow access to the given path - direct links to the given path and links to parent folders of the given path. " That means that calling for /myfolder won't list links for…
-
Hi Eric, development and production mode are the same as far as webhooks are concerned. Anyway, we do automatically email you when a webhook URI is disabled. The system will email the email address registered on the Dropbox account that owns the app though, so make sure that address is up to date, and maybe check your spam…
-
If you want to create a shared link for a file and you know the id for the file, you can just use that, as opposed to trying to combine path and id. That is, if "id:h8f3g764f73gf7fg" is the id for a file at /myfolder/myfile that you want a shared link for, you can just use the id only: curl -X POST…
-
Hi Tharan, if you want to get a link to the file content, you can use the /2/files/get_temporary_link endpoint: https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link Or, if you want to get thumbnails for the images, instead of the full image file, you can use /2/files/get_thumbnail:…
-
Hi Mark, the exception and unsupported_extension error you shared is actually for the files.getThumbnail method, not files.download. It looks like you're accidentally calling getThumbnail. The files.download method works for .rtf files.
-
This isn't currently available in the Dropbox API, but I'll be sure to pass this along as a feature request!
-
This is working fine for me. How are you checking the contents of "list"? Can you share more of your code?
-
What access type does your app have? E.g., if it's an app folder app, it will only list items in your app folder, which is empty by default. By the way, I redacted your access token, but for the sake of security, you should disable that access token since it was posted publicly. You can do so by revoking access to the app…
-
Sure, you can upload whatever data you want to Dropbox using the API. The Dropbox API doesn't know or need to know if you've encrypted the data.
-
The app authorization process is handled via OAuth 2. The documentation for the OAuth 2 page and endpoint can be found here: https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize There's a blog post here that shows how to implement OAuth 2:…
-
We recommend using one of the official SDKs, if possible: https://www.dropbox.com/developers Those will handle the work of making the HTTPS calls for you. Otherwise, you can use your own HTTPS client (whatever that may be for for whatever platform you're using) to connect to the HTTPS endpoints directly:…
-
Oh, never mind, I think I see the issue. It looks like you're missing the quotes around the session_id in the Dropbox-API-Arg header, as well a the ending "}". That's likely corrupting the HTTP request, causing the server to fail back with the HTML page. I recommend using a JSON library to build these strings for you,…
-
Thanks! It looks like you're not using an official SDK so it's hard to say off hand if there's anything wrong about how the request is being built. Nothing looks obviously wrong. Are you able to enable any extra debugging output by any chance, e.g., to show the raw request? Also, how long does that call take before the…
-
Thanks! That's a relatively small chunk size, so that should be fine. How long does that call take before it fails though? Can you share the relevant code snippets and full response?
-
How big is the chunk you're sending in step 2?
-
The code you shared doesn't make an API call to Dropbox, it just creates and returns the client you would use to make calls. What do you mean it doesn't run properly? Presumably you're calling getDropboxClient somewhere. What gets returned?
-
Unfortunately there's not much to go on here. Can you elaborate on what you mean when you say "the process fails for no given reason". Are you basing that just on the lack a new file in your account? (Also, note that if you upload the same exact data to the same path, that won't create a new revision.) Anyway, I wouldn't…
-
Each call to createTemporaryDirectLink will make another network request, to get the requested information from the Dropbox API, so unfortunately there will be a good amount of overhead for that. I'm afraid I don't have a good solution, but I'll be sure to pass this along as feedback.
-
No, it's not possible to use the Chooser without user interaction. The createTemporaryDirectLink method in the PHP is a good alternative then. It returns a link just like the "direct link" type from the Chooser, but can be used completely programmatically. You can then download the file content via the returned link. Can…
-
Thanks! The incorrect_offset error indicates that the server is expecting a different "offset" value (how far along in the file you are in the upload session) than the app is submitting. You can find more information on that in the documentation here:…
-
You can certainly use upload sessions to resume uploads of large files by persisting and re-using the session ID. If a particular request fails, you just need to re-upload that chunk, and not the whole file again. Where does your code fail for you though? What exception(s) are you getting? Since you are using the .NET SDK,…
-
Are you using the official .NET SDK? If so, there's some sample code that should be helpful here: https://stackoverflow.com/documentation/dropbox-api/409/uploading-a-file/1358/uploading-a-file-using-the-dropbox-net-library#t=201609291814169541274 If you're still having trouble, please share your code and the exception…
-
Hi Muralidhar, this seems to be a duplicate of your latest request in this thread: https://www.dropboxforum.com/hc/en-us/community/posts/208693686-Dropbox-1-team-log-get-events-is-giving-events-except-category-files-?page=1#community_comment_212925623 I've already sent that along as a feature request, but please let me…
-
Thanks for the feedback James. I don't have a timeline to offer, but the team is still working on it. (There wasn't a simple fix unfortunately.)
-
No, I don't have any news on this yet.
-
I haven't received an update on this yet. I'll follow up here once I do.
-
No update on this right now.