Comments
-
Got it, thanks! This is open with engineering for the case where "Prevent cross-site tracking" affects this. I'll follow up here once I have an update on that. I still can't reproduce the behavior you're seeing in Chrome though. Can you let me know what version of iOS and Chrome you're seeing that with?
-
Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here: https://www.dropbox.com/developers For example, to upload a file, you can use:…
-
Using the official Dropbox API v2 JavaScript SDK, if you want to download a file, you should use the filesDownload method. If you want to download an entire folder, you should use the filesDownloadZip method. If you need a link to a file, you can use the filesGetTemporaryLink method. There isn't an equivalent of that for…
-
@"liftbox" No, unfortunately I don't have an update on this feature request. This call still only supports specifying one category at a time.
-
Yes, ideally we'll be able to resolve this on our side, but we just want to make sure we're reproducing exactly the issue you're reporting. So, to be clear, if I understand your messages correctly, the issue does not appear on my sample site for you when you have "Prevent Cross-Site Tracking" disabled, but does still…
-
If you use the SDK and implement the authorization flow as documented, i.e., using authorizeFromControllerV2, the SDK will actually automatically handle the short-lived access token and refresh token logic for you.
-
No problem, I'm happy to help. For reference, some account types have the option to set an expiration on shared links, via SharedLinkSettings.expires, but by default there's no expiration.
-
@"Miros" Modified time is available for files, but not folders. Created time is not available for either. You can find the full documentation on the different pieces of metadata that are available for different types in the documentation, such as for /2/files/get_metadata.
-
First, for reference, that /1/shares URL is part of API v1, which is retired. If you're using the Python SDK and want non-expiring shared links, you should use sharing_create_shared_link_with_settings. That allows you to programmatically create shared links that don't expire by default (but can be revoked by the user/app)…
-
Thanks for the additional information. I just tried reproducing this with that code, and it only reproduces for me with "Prevent Cross-Site Tracking" enabled (and works fine with it disabled). Please try this sample I just put up with this code (though I had to add a missing "link"…
-
Thanks! We'll follow up with you there shortly.
-
I'll be happy to help with this, but I'd need some more information. Could you share the code you're using and the full URL of that page showing the error? Feel free to open a ticket here if you'd prefer to share privately. Thanks!
-
Thanks for the report. For reference, can you let me know: * Do you have the "Prevent Cross-Site Tracking" setting in Settings.app > Safari enabled? * Are you placing the Embedder inside an iframe?
-
@"BouzianeAmineLocalfr" No, unfortunately I don't have an update on this feature request.
-
@"MakePerceive" Thanks for the note! This request is still open with the team, but I don't have an update on it.
-
Yes, you could distinguish between shared and not shared folders by checking the metadata, e.g., by using getMetadata. If it's a shared folder, the DBFILESFolderSharingInfo.sharedFolderId in the returned DBFILESFolderMetadata.sharingInfo will be set. It will not be set if it is not a shared folder.
-
No, there isn't another call like that with a string returned directly. You should access the string in the returned GetTemporaryLinkResult.link field. Does accessing that field not work in your environment for some reason? As for viewing the file itself, you may want to check the JavaScript console for the page where the…
-
It looks like your app is registered for one or more "team" scopes, but the account you're trying to log in to isn't a member of a team and so cannot authorize team scopes. If you just want to connect the app to your account, you should remove the team scopes from the app via the Permissions tab on the app's info page on…
-
Using the raw=1 parameter, as documented here, is the right way to get direct access to the file content from a shared link like this. It sounds like that's not working for you though. Are you getting any particular error or unexpected output? Note that the client will need to be able to follow redirects, so if your viewer…
-
I believe you should be able to use the Dropbox library with Newtonsoft.Json 12.0.3. (I just tried and it does seem to work for me.) We did receive a report like this a few years ago, but that was apparently resolved by using a binding redirect like you already have in place. It's unclear why your error message is…
-
Yes, this is the expected error message for this endpoint for a new account with Paper documents as files in the Dropbox filesystem. For reference, from the /2/paper/docs/create documentation: insufficient_permissions Void Your account does not have permissions to perform this action. This may be due to it only having…
-
I recommend reading the Detecting Changes Guide, as it goes over various options for monitoring changes in Dropbox. As in the other threads though, since "received" files aren't included in the user's own Dropbox filesystem, there isn't a good way to monitor those.
-
Are you using /2/files/search or /2/files/search_v2? If you're using /2/files/search, please migrate to /2/files/search_v2 as it should return received/shared files like this.
-
The Dropbox API now offers short-lived access tokens and refresh tokens. You can find more information here: https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens
-
Yes, you can use the "PKCE" flow to process "offline" access without having the app secret. You can find an example of running this with the Java SDK here: https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/authorize/src/main/java/com/dropbox/core/examples/authorize/PkceAuthorize.java
-
You seem to be setting some long timeout values, but other than that there doesn't seem to be anything unusual here. Also, you didn't mention which version number of the Dropbox SDK itself you have, but I recommend upgrading to the latest version (currently v5.5.0), if you aren't already using that. Anyway, since there's…
-
It sounds like this is effectively a duplicate of this thread. Please refer to that for more information.
-
Are you referring to the getEvents/getEventsContinue functionality? That's a way to monitor events occurring on a Dropbox Business team. That log would include shared file events, but it can only be used by Business teams, with the 'events.read' team scope.
-
If you just want a shared link to the folder, you can use /2/sharing/create_shared_link_with_settings. Or, if you want to share the folder itself so it can be added to another account, you can use /2/sharing/share_folder to make it into a shared folder, and /2/sharing/add_folder_member to invite other people to it. The…
-
Have you checked what the value of your 'data' variable is? Does it contain the expected file contents? I notice you aren't checking the 'err' variable for the readFile call, so you may not be catching any errors that are occurring when reading the file. You should update your code to check that.