Comments
-
Hi @"ethanfang", The problem in your case is that you have lots of namespaces. Every single namespace gets locked by self. Since you need to lock all namespaces together, looks like the task takes too long. You need to split list processing for different namespaces to avoid such a deadlock. On other side, as you mentioned…
-
Hi @"makrand kulkarni", As result of your request, on confirmation, new request will be directed according to then redirect URI with only parameter 'code' inside. It would look like: <Your redirect URI>?code=<code to be used in /oauth2/token> You can use any code able to handle your URI (either provided by Dropbox or no).…
-
While using SDK, the care for details is usually SDKs code's task, not to the code where SDK features are called from. Though, for all possible parameters in redirect URI you can take a look on /oauth2/authorize, in RETURNS section.
-
@"sanjeev_hansanur1" wrote:... convert the inputstream to string Hi @"sanjeev_hansanur1", A good way to convert raw input stream to whatever you want (including string) is wrapping it using DataInputStream class. The benefit here is that you don't need buffering, so the need of engaging memory decreases. Processing happens…
-
😁 And... Ok, be more initiative... I can't guess what's the result!!! Again, are you able list (within your application) the target file where you know "Hans Gustafson" resides in (in particular)? By the way, "include_highlights" default value is False, so it's meaningless here.
-
Ok... Try investigate what's wrong now... Is there some error?... Are you able reach to/list the file in interest?...
-
Did you reissue the token in use? 🧐 Take in mind that token caches the permissions state and any change is NOT retroactive!
-
Aahh... You are trying a team account... In such a case any file/folder access (like the one 'search' do) need to be performed behind particular user (not the team). That's why you have to "personalize" (if could be said so) your access while using team account. This could be done automatically by just removing all team…
-
There is no reason any shared folder (either shared by you or shared to you) to be something limiting. I just checked and everything seems to work fine. You can look for the issue further, as trying to reach the particular file where you are expecting something to be found. Are you able to navigate, using your application,…
-
🙂 Of course, any application does list/access only files granted by available token(s). Have the "other users", that you mean, granted your application access to their accounts? 😉
-
Hello again @"amjadkhalil", I have no idea what exactly you have tried, but as far as I know there is no way to change the type of the application once created, unfortunately. Would be fine such an option to be added at some point in the future by Dropbox team. Anyway, it's missing now. That's why I told you that have to…
-
Hi @"amjadkhalil", Since your application uses app folder, it has lost access to the rest of entire user content. This is possible mistake at application creation time. You will need to recreate the application with full dropbox access, if you really need such. 😉 Hope this helps.
-
@"makrand kulkarni" wrote:... 1 Is there any other solution where Auth code can be taken Internally by Application ? ... As you already guessed, Yes, using redirect URI. @"makrand kulkarni" wrote:... 2. In which Parameter Auth Code can be taken in response of redirect-uri ? ... You can take a look on a web example to take…
-
@"Jistix" wrote:... When users connect our app to Dropbox via OAuth, the process is successful, but the users are not able to see any of their files or folders within our app. ... Hi @"Jistix", To be able see your users files or folders, you need call to 2/files/list_folder[/continue]. As you can see there (AUTHENTICATION)…
-
Webhooks OverviewWith webhooks, your web app can be notified when your users' files change, rather than requiring your app to frequently poll Dropbox for changes. Every time a user's files change, the webhook URI you specify will be sent an HTTP request telling it about the changes. ... @"peyo", 🤔 What are your users?…
-
@"peyo", in addition to what Greg said, when you only need to link your own account to the application, generating refresh token will work in the same way as long lived access token did before. Take a look here how you can get to a refresh token. 😉 You don't need to use it, just don't revoke it. Hope this helps.
-
Hi @"makrand kulkarni", 😁 You are in confusion. There is no way to get refresh token based on access token; the sequence is opposite! You have to get a refresh token and after that you SDK will take care for the rest (including access token generation. Take a look here and here for more info. Hope this helps.
-
Hi @"itsisaf", If you have a shared file link, then you don't need any API to get its content. Just get it as you would do for any other link. Only additional thing you can care, if need, let link gets redirect before reaching final stage. In addition usually proper parameter for raw access is needed to be set (if not…
-
Hi @" Jasmine jj", Take care. 🙂 You are asking the Dropbox server for your file requests count, not some files count! 😉 That are different things. There is no direct way; you have to list files in particular folder, if you want. That's it. Hope this helps.
-
Hi @"sanjeev_hansanur1", There are some examples where you can select from to test or get idea. You don't need access token directly since Dropbox Java SDK takes care about it. To create client object you need to create DbxCredential object (for accessToken set some arbitrary string and for expiresAt set zero). Depending…
-
@"Greg-DB" wrote:... In any case, it still sounds like the right solution here is to move the long work out of the callback. Yes, one simple "fix" (might not be the best in all cases) can be replace function declaration like: success: function(files) { to something like: success: async function(files) { And yes, on Firefox…
-
@"Ashrafali", I'm wrong in my previous post. Seems 'success' callback is called asynchronously. That's why it can't stop/delay chooser disappearance. To be honest I can't reproduce your issue. 🤔 Can you share some code sniped representing it?
-
@"Ashrafali" wrote: ..., if the file is too large then the chooser stays open ... Hi @"Ashrafali", Do you perform file operations in chooser's callback or let it return before (or immediately after) start processing? 🧐 Take in mind that chooser will stay blocked as much as you block it's execution within the callback. 😉…
-
Hi @"11robert", There is an "SimpleTest" example showing the .NET SDK usage (including the idea for file upload). Dropbox doesn't provide Visual Basic support, but you can "translate" the idea from example mentioned (it's C#), I believe. 😉 Hope this helps.
-
Hi @"Akansh Gautam", About the error of team folder creation, seems you have forgot select 'team_data.content.write' space. About sharing, it's unsupported for App folder.
-
@"Omri1984" wrote:... and we are not doing refresh token at all , ... Hi @"Omri1984", You are "not doing refresh token at all" - exactly; and that's where you issue is coming from. 🤷 I have no idea why you refuse to understand that. @"Omri1984" wrote:..., all manage automatically ... No, here you are wrong! Version 4.7…
-
@"Omri1984" wrote:we are using dropbox 4.7 .net sdk Version 4.7 does not support refresh tokens! Update it (your application too).
-
@"Omri1984" wrote:... an up until now alll was good suddenlty the automatically refresh token stop working and we are getting this error Dropbox.Api.AuthException: expired_access_token/ ... Are you sure you are using refresh token at all? 🤔 The error states access token issues, not refresh token!
-
Hi @"alexiscastillodj", Instead of suspicious advises from unofficial places you can read the official documentation. 🙂 Isn't it? About teams: Have you identified particular team member before try to make files access using either as_user() or as_admin() methods? 😉 Hope this gives direction.
-
@"TCLTC32" wrote:... Currently I can have only "short lived" token which expired, ... Hi @"TCLTC32", There are no more long lived access tokens (no new at least). Using refresh token you don't need to authorize by hand again and again. Once existing short lived access token expires, it can be automatically "refreshed". If…