Здравко Legendary | Level 20

Comments

  • Hi @"anoduck", One thing you can check is the correctness of you REFRESH_TOKEN. Print it out and check the value for proper formatting. There might be something different than the refresh token exactly or some additional symbols can appear (like extra quotes for instance). Good luck.
  • Hi @"jonas11", Your solution rather confirm my doubts for race condition. The worst thing that can happen is application stop (like before), nothing else. Actually only Dropbox can fix this in their code, nobody else. This is bug that can happen depending on timing conditions. We can only try to decrease probability such…
  • To be honest, I'm not sure what you ask me actually. You don't need any URL neither actual file to add a tag. The only thing you need is a regular file path (aside of the tag itself), nothing else. This is the same both when using direct API endpoint access or the same through any Dropbox SDK (including Python). There is…
  • Hi @"Nprice", Take a look here: https://www.dropbox.com/developers/documentation/http/documentation#files-tags-add 😉 for API end-point. Hope this helps. For Dropbox Python SDK method take a look here.
  • Unfortunately Dropbox doesn't provide a way to access application logs (I least I don't know for a such). Don't ask me why. Such access would give many useful information, but... 🤷 You case seems similar to one issue of mine; in spite not the same the solution may work for you too. The pseudo script there represents just…
  • Hmm... 🤔 Strange! Can you post the result of following command: ls -l ~/.config/autostart/dropboxauto.desktop By the way, you can avoid the disturbing message as follow the provided direction within the message itself - i.e. replace the deprecated method name and set newer one (they are synonyms, actually). This could get…
  • @"jonas11" wrote:... * Copying the desktop file didn't help either. ... Are you sure have used the same command above and not just drag and drop (or similar)? 🤔
  • @"Shy1" wrote:i am just delete anchor and error disapear. ... @"Shy1", Hmm.. 🤔 How have you deleted something nonexistent? I can see some anchor in your code responsible for redirect URI construction! I'm not sure you have some "configuration pc problem", but most probably you are mixing anchor and resource path. 🙂…
  • @"jonas11" wrote:... I came across [this](https://www.dropboxforum.com/t5/Create-upload-and-share/Autostart-not-working-correctly-Kubuntu-Ubuntu-18-04-5-LTS/td-p/535641) thread which recommends trying an "advanced reinstall", but the linked website seems to malfunction both on chrome and on firefox, and I can't expand the…
  • @"Shy1" wrote: ... if I try to do it through the code, I get this Invalid redirect_uri message. It must exactly match one of the redirect URIs you've pre-configured for your app (including the path). In console I added redirect url just like in code private const string LoopbackHost = "http://127.0.0.1:4200/"; what is my…
  • Hi @"msmoe", As a example you can take a look here. It's not a PHP code, but a command line curl execution. I believe you haven't problem to convert it. The most important is HOW it's gonna work (as idea). Have a nice day.
  • @"msmoe" wrote:... We Need long-live token. Hi @"msmoe", The only long-lived token is refresh token. Time ago was possible to get long-lived access token, but it's obsolete and dropped already (in spite an existing can still be used, but new can't be issued anymore). Access token can be "refreshed" (i.e. ensuring valid)…
  • @"Redcom6816" wrote: ... ... "Folder name": "30585 Site ID 1247 - 111 Jones Road - Dublin - CA - Wireless SO 13047PO ZD 2442 ", <-- ... Dropbox says "Error Message : path/malformed_path/..." Hi @"Redcom6816", Yes, your path is really malformed (no doubts). 😉 A path can NOT end with blanks! Hope this helps.
  • Hi @"NPick672", While you're sharing something (including video) using link, it a only link, so it enough. 😉 You can share the same link to everybody. If you want to share a file explicitly (targeting all recipients), you have to point every one. Hope this helps.
  • @"_shintaku_" wrote:... I can't find 'size' attribute for folders in my requests response, my code is:- ... Hi @"_shintaku_", You can't find 'size' attribute cosa there is NOT such. Only files eventually residing in particular folder have such attribute on enumeration. To calculate total size, you need to enumerate entire…
  • Hi @"Fenoma", As a example you can take a look here. It's not a PHP code, but a command line curl execution. I believe you haven't problem to convert it. The most important is HOW it's gonna work (as idea). The code you posted as example should not be changed a lot (it can left almost the same). You have not to assume…
  • Dropbox can support many different formarts and actually doesn't "support" anything. Tha data are transfered and store as just a bunch of bytes 😉 (i.e. whatever you are uploading, the same you will get). Most probably you have uploaded something different or not exactly the intended. Check it - try inspect what exactly you…
  • @"sanathdevadiga" wrote: Hi , iam generatimg access token using refresh token only . Now file is getting uploading but when i open in dropbox it is showing currepted file its not opening. Can you help me in this . ... Following your question at all, seems you are trying guess what you need to pass instead of read the…
  • @"sanathdevadiga" wrote: ... I have already done authentication and i am generating access token also . ... Hi @"sanathdevadiga", It's great you have realized the authentication already. Just a warning here. You've mentioned access token only, but nothing about refresh token! Take in mind that access token expire after…
  • Hi @"Big Milk", In spite I don't have such a device I'm still curious how Dropbox application can be made work there. First of all take in mind that using discover you are installing third party package, not the officially supported one. Usually it matches exactly to the official one and packed in different format package…
  • Hi @"carp21", Put in some web search engine (like Google) some related phrase (like "cloud storage" - you can play with different words, of course) and I'm sure you will find different cloud services providing such features (features that Dropbox refuses provide). 😉 Here I'm just trying to avoid advertise one or other. Of…
  • Hi @"trithanhnguyen", Did you forget the path root we did talk about some time ago? 😉
  • @"trithanhnguyen" wrote:For the DbxTeamClient I do not have a way to list all the folders and files for each member of the Namespace. ... Does the listing fail? 🤔 Or something else before actual listing call... @"trithanhnguyen" wrote:... So I have to switch to the DbxClientV2 to do that. ... Of course, there is no other…
  • Better perform this call on 'dbxTeamClient' context. So you wouldn't need 'broken; parameter (it's meaningless actually). 😉
  • @"trithanhnguyen", Are you sure your 'teamMemberId' parameter carries correct value? Print it out and check the place where/how you get it from and is on that place something 'strange'. 😉
  • @"jorjbotezat" wrote:... I try to get the temporary URL using the "get_temporary_link " ... If I share the folder of the file, the request will be successful. ... Hi @"jorjbotezat", Are you certain your description matches exactly what you have done? What actually means "folder of the file"? I'm assuming the folder is the…
  • @"ultralame" wrote:Wait, the refresh token doesn't expire? ... Exactly. Or least to a moment (if any) when application itself revoke it or user, who granted access, revokes it. @"ultralame" wrote:... So I can exchange the static refresh token for a new token each time I run? I am deploying this to a couple dozen autonomous…
  • @"ultralame" wrote:... This means I would like to have a permanent token for a specific area within DB that we can upload and and download files by these automated systems. ... The refresh token is permanent (if not intentionally revoked or until revoke). About the "specific area": application folder access (instead of…
  • @"ultralame", Ask the target service what's the issue! Here we only can try guess. If the expectation is filename within URL, unfortunately it's impossible. In such a case check if there is an option they use the name in corresponding header (as is normally done by every browser, for instance).
  • Hi @"ultralame", You are converting initial link to download link. Seems like Dropbox serve all downloads as binary data (doesn't matter actual type). One simple solution is instead of converting to download link to convert the link to raw link (replace '?dl=0' to '?raw=1'). If your target service require download (i.e.…