Comments
-
Thanks Joel, that's helpful. The API expects UTC, so you should instead do: expires = datetime.datetime.utcnow() + datetime.timedelta(minutes=1)
-
Setting the expiration to 1 minute in the future is working fine for me. Can you share your code and the error you're getting? Thanks in advance!
-
I believe there are a few different factors that determine the paging, so you should just make sure your app always checks and follows the has_more and reset indicators to make sure it's always working from correct data. And yes, Dropbox will send webhook notifications for any changes in the linked accounts. Your process…
-
Thanks! Since has_more is true, you should immediately call getDelta again, with $cursor set to the "cursor" value returned from the previous call. (The HTTP documentation for /delta contains some additional information on using it.)
-
You should certainly be able to list the contents of a shared folder using the API just like you would a non-shared folder. I just tried it out and it's working for me. Can you share some sample code and output showing the issue you're seeing? If you're using getDelta, make sure you check the returned "has_more" value and…
-
The shared links you can retrieve using the SDK in the Sharing namespace, e.g., CreateSharedLinkWithSettingsAsync, are meant for sharing links to others users. These links don't return the file content directly. If you just need to stream data to a media player, you should instead use GetTemporaryLinkAsync. That will give…
-
Hi Chase, the Chooser/Saver domains you need to register should be the domain(s) of the site(s) where you will deploy your Chooser/Saver integration. For example, if I was developing an integration for this forum itself, I might register "localhost" for my local development environment, like you mentioned, and then to…
-
Yes, that would do it. That gives you that BadRequestException instead, since the token is recognizably not the right format. If instead you just modify an existing character in the access token in place you can force the InvalidAccessTokenException instead.
-
InvalidAccessTokenException does get thrown for me when calling listFolder with an invalid access token. (Both catching InvalidAccessTokenException and using instanceof work as expected in my test.) Can you share your code that reproduces this? What version of the SDK do you have installed? Also, please print and share the…
-
Ok, the fix is out now. Let me know if you're still seeing any issues.
-
The fix for this should be deployed today or tomorrow. I'll follow up here once it is.
-
Apologies I don't have better news right now! The team is certainly working on this issue, but I can't make any specific promises, e.g., for a timeline for a fix, etc. I'll reply here once I have something firm to share.
-
No update on this yet.
-
No update on this yet.
-
Thanks! I'll check in with the team on this again.
-
Apologies, no update quite yet.
-
No update on this yet.
-
Great, thanks for confirming that.
-
No update on this right now. I'll reply here once I have news.
-
No update on this yet. I'll follow up here once I have news.
-
Thanks! There is a known issue like this for DeletedMetadata, which we're working on. If you can confirm seeing this in a non-deleted Metadata object though, please share the relevant code and output so we can look into it.
-
Is it happening for any Metadata object, or only DeletedMetadata?
-
Hi Noe, in the other thread, you included this: Ex: "/hi/untitled" instead of "/hi/Hello.txt" ...("H" is capitalized) Those seem to show different paths ("untitled" versus "Hello.txt"). Can you share a full example showing the issue so I can make sure I understand your report properly? Also, is it happening for any…
-
Thanks for the sample, Gustavo. The string you've entered as your Dropbox API app key is actually an Dropbox API OAuth 2 access token. These are two different things, and the latter is only used for the Dropbox API, not the Dropbox Chooser. Your app key is a much shorter string, and you can get it from your app's page on…
-
This can occur if your app key isn't entered correctly. Can you share your code? Likewise, the example app doesn't come with an app key set and requires you to enter it as the APP_KEY variable in MainActivity.java. Did you do that and can you check you copied the key in correctly?
-
The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. However, it is technically possible to connect to just one account. The SDKs don't offer explicit support for it and we don't recommend doing so, for various technical and security…
-
Hi Craig, yes, this is currently the case. The get_shared_links endpoint returns collection links, but the list_shared_links endpoint doesn't. I'm sending this along as a feature request to support collection links in list_shared_links.
-
Hi Dimitrie, we don't have a sample for using Dropbox webhooks with Google Apps Script specifically, but I'll be sure to pass this along as feedback. We do have a sample Python app here: https://github.com/dropbox/mdwebhook And the full documentation can be found here: https://www.dropbox.com/developers/reference/webhooks
-
Hi Yang, thanks for your post. Unfortunately, the Dropbox Chooser doesn't currently support running from environments without an actual domain to check, so I'm afraid there isn't a way to make this work. We'll consider this a feature request though.
-
If you know what team member's account has the shared folder, you can use member file access to call /2/files/get_metadata for that file ID. The event log unfortunately doesn't currently indicate which member(s) have that shared folder though, but I'll be sure to pass this along as a feature request too.