Здравко Legendary | Level 20

Comments

  • Hi @"sunilgeechoo", Using long lived access token is deprecated and creation of new is already dropped. That's why you're getting short lived token only. Alternative for long term access is refresh token. You have to adapt your application to use such token type. For possible way of refresh token creation, take a look on…
  • Hi @"liszt", That, what you are trying, is Dropbox application related, not Dropbox API! If you are tolking about desktop application, don't have to do anything. Dropbox application takes care for the automatic update for you. You just have to copy updated content back. When mobile application is on focus, it could be a…
  • Hi @"ENGR_MANSOOR", All you need to change is already pointed out in the error message posted. Have you done it? If not, just do it. 😉 Take in mind that associated scopes are "cached" within your token used! You need to revoke current token and reauthorize your application (login) anew, so the change can take effect. Hope…
  • Hi @"Walter_E", As far as I know Dropbox Backup is NOT supported on Linux. That's not so bad thing cosa this feature is not very well implemented in general. You can achieve the same, as move desired folder within Dropbox folder (or it's subfolder) and set link pointing to the folder on it's new place and residing on…
  • No, no,... That's not a setting either on your application in console or anything else. It's the workflow on authorization supported by Dropbox and selected by you eventually. As an example, again on the same file, take a look here. You can see example of PKCE usage. You have used something similar on initial…
  • @"phunction" wrote:... I changed this part: DropboxClient dbx = new DropboxClient(szRefreshToken,appKey); ... Hi @"phunction", What type of authentication flow have you selected in your application? 🤔 Take in mind that constructor overriding, used by you, is applicable only with PKCE flow! If you are using something else,…
  • @"phunction" wrote:... Is there a way they can just authorize my app so I don't have to deal with the login part? ... @"phunction" take a look on the line where refresh token is referred to. Once you got to this token, next time you can skip actual login part and process directly the client creation. Owning the token keeps…
  • @"kir9ost" wrote:... Tell me pls, may i upload APK file to dropbox server and share direct link with users of our app? ... Hi @"kir9ost", Yes, you can upload apk (or any other) file to Dropbox and share to anybody else using shared link. @"kir9ost" wrote:... restrictions ... Depending on plan in use traffic may be…
  • Hi @"yurpub", You didn't clarify what SDK and what version you are referring to. Generally talking when you have got refresh token you don't mandatory need anything else. Depending on which SDK you are using, there is some way to build new client object with the owned refresh token and ****** other arguments (when they are…
  • Hi @"Ramya4", You should make sure your application has permission to do that. Get in your App console. Select the desired application there. Turn to tab Permissions. Scroll down to "Team Scopes"-"Members" and make sure that checkbox before "members.read" is set. Even when above is accomplished, you are not ready yet. Your…
  • Hi @"yunu", Take a look on the example here. Hope this helps.
  • Hi @"phunction", Good reference point could be one of the examples. On the enlightened line take a look at "tokenAccessType: TokenAccessType.Offline". 😉 Hope this helps.
  • Hi @"didouchk", The description of your issue is not very "rich". Missing details on how you have done everything! The devil is in details. 😁 There is an authorization example for Java SDK. PKCE implementation could be seen in corresponding class. Take a look there and you can figure out what's missing in your code, I…
  • Hi @"freetinker", If you have run Dropbox application within the same desktop session there is no reason Dropbox tray icon to be missing. Otherwise, while Dropbox application runs on an other session (terminal or graphical) icon is not going to appear. The same is valid for all singletion applications. To appears on…
  • Hi @"steveb1947" and @"Walter", As far as I can see, you are discussing for different things. The initial issue is that the TimeMachine can't sync particular file in Dropbox preferences. I'm not sure, but a possible reason could be it's used at that time by the Dropbox application. Later you are trying to find it within…
  • Hi again @"Reshma ", Seems you have misunderstood me. You can't just place one type of token where other type is expected! In Java SDK a DbxCredential object should be used as a proxy (don't ask me why) for refresh token. Hope it's a bit more clear now.
  • Hi @"Reshma ", Every supported SDK do this automatically byself (without any additional method/function call). You just have to initialize your client object using refresh token instead of access token. 😉 That's it. Hope this helps.
  • Hi @"zangetsu", 😁🙂 I have one question: How many HTTP queries are you sending during the HTTP link period? Slow down, don't get fast. Relax little bit and take a look on the code once again. How many bytes have to be the first query? 😉 I hope you are able figure out already where the second query start from.
  • @"Okgo" wrote:I'm using the tutorial code but a few hours later ... Hi @"Okgo", More precise the access token expires in 4 hours. @"Okgo" wrote:... i wanna know how to fix it You have to use refresh token in client object construction instead of access token. Unfortunately, you can not directly get refresh token as you can…
  • @"grimhike" wrote:... I understand the complexity of converting POSIX symlinks to Windows symlink and vice versa. ... Complexity???! 🧐 What kind of complexity? 🤔 Yes, if we are talking for absolute path within links. Conceptions for FS root in POSIX and in Windows are completely different. BUT, here we are talking for…
  • @"vjchoe" wrote:... and would love to know if there's a resolution. Hi @"vjchoe", Most probably never (if the issue doesn't resolve itself). This is long term discussion (for many years). Seems Dropbox development inconsistently adds some new "features" and make application work unstable. More than 2 years ago, I posted a…
  • @"grimhike" I don't work on Windows machines (no very often at least), so can't comment Dropbox behavior on Windows (most probably some new bug - ops sorry, "feature" of Dropbox). I'm glad that the issue: @"grimhike" wrote:... Those symlinks are synced to other mac computers or Linux computers, only as links, not including…
  • @"grimhike" wrote:On one of my mac computers, I created several symlinks inside Dropbox folder that point to other files or directories also inside the Dropbox folder. Those symlinks are synced to other mac computers or Linux computers, only as links, not including the full file content. ... Hi @"grimhike", A link may…
  • Hi @"lexomatic", The error message, you have posted, provides a good guidance how to solve your issue. Doesn't adding the header missing with your user id, as asked, solve it? 🤔
  • @"dgeiss" wrote: ... Let's say the application, that wants to make the authentication, runs on a device, that I can't administrate, because the device belongs to a customer. ... Hm... 🤔 Do you assume that Dropbox application can be installed only on devices Dropbox is able to administrate? 🧐🙂 I don't think so... 🤷 Dropbox…
  • @"CloudServices" wrote:... I would prefer to use random ports to avoid problems on machines where ports might be not available do to e.g. firewall settings. This way it's possible to switch from a blocked port to a free port without having to register another redirect URI. Aha... About the firewall: If your access is…
  • @"CloudServices" wrote:... "Invalid redirect_uri: "https://127.0.0.1:51931": It must exactly match one of the redirect URIs you've pre-configured for your app (including the path)." ... Is there a limitation to the amount of redirect URIs? ... Hi @"CloudServices", If you take a look on the parts of your post, that I…
  • Hi @"Polski123", I'm not sure we are talking about the same thing. 🤔 I thought we were focusing on sharing a file using shared link. Seems it's not exactly. What actually you take in mind? 🧐 What do you try to do?
  • @"Polski123" wrote: how do i get the mp3 track off of it, ive tried so many ways, adding the =raw -1 and dl=01 and so many but none of them works, can you guys help me? and the file name is "*song title*.mp3.web Hi @"Polski123", Can you clarify some more things? 🤔 Is this a regular mp3 file and what is doing this ".web"…
  • Hi @"mayuri_thakare", The error message you got is perfectly clear; what do you need help for? Have you read the end point documentation? There you can see: This endpoint does not support apps with the app folder permission. Is you application limited to its own folder in client account or gets full access to there? 🤔…