Comments
-
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 ****** 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 ****** 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.
-
No update right now.
-
Thanks, that's helpful. We'll follow up here once we have an update.
-
Thanks! We're looking into it. If you can also share some sample values for self.metadata.path and imageSize though, that may also be helpful, just to make sure we're reproducing this exactly the same way.
-
Hi James, thanks for checking that. Can you share the relevant code snippet to reproduce this, so we can make sure we're addressing this properly? Thanks in advance!
-
Hi James, unfortunately I don't have any additional information on this right now. I'll send this along to the team though.
-
Thanks for writing this up! That's correct, the API doesn't currently officially support video thumbnails, so I'm sending this along as a feature request.
-
Hi David, it sounds like you have a good handle on this already. In order to make an API call, the client (in this case, the browser) needs the access token. Fundamentally though, client-side apps, (such as in a browser) can't keep secrets. That means that the access token would be exposed to the users, compromising your…
-
The first kind of link you posted, with "/home/" in it, is the private URL of a file in a user's account. It doesn't offer access to the file unless you're logged in to that account. The second kind of link you posted, with "/s/", is a shared link for a file, which does allow access to the file. There isn't a way to get a…
-
Apologies, I wasn't clear before. Even if you don't specify the format, the returned data is already the jpeg data for the thumbnail for the file. In either case though, that is, for png or jpeg thumbnails, the thumbnail data will be returned directly in the response of the API call as binary data. It sounds like you want…