Здравко Legendary | Level 20

Comments

  • @"MooMoo_polar" wrote:... I'm curious how could I download files without Metadata.path_lower using files_download_to_file method, or any other download method is okay. I would like to make the script to run automatically. ... Hi @"MooMoo_polar", A way to do what you want can be seen here. 😉 Hope this helps.
  • Hi @"RexNguyen", There is other thing that my be relevant to your issue. What is your video encoding? 🧐 Is it by any chance H265? 🤔 (or some other non free)...
  • @"foranuj" wrote:... So I do get request different links. I can add a small wait/sleep in that request and hopefully that'll take care of the issue.... Hi again @"foranuj", No, adding wait, just so, wouldn't do anything. You have to add back-off only when needed, i.e. when you got rate limit (as discussed above), otherwise…
  • @"foranuj" wrote: ...As you can see, we're operating with a small slice from startIndex to endIndex which is generally 10+ images. I'm not sure why we would hit a rate limit with such small number of API calls in general. ... Hi @"foranuj", Your issue is not related to how many are the API calls, but how many of them are…
  • @"Megan" wrote:... Your comments on this have been quite helpful, and I will do everything I can to ensure that your voice is heard. You can always use our "Share an idea" board, in order to suggest this as a feature request, in order for other users to upvote it. ... Hm...🤔 Probably that's why the same idea was there for…
  • @"squdan" wrote:Yes, I'll give you all information about my case, maybe there is another way to achieve what I need. ... Hi @"squdan", Yes, As Greg said, there is a bug in current supported set of such API calls. Fortunately, there is undocumented set of API calls too. You can use some of them to achieve what you need.…
  • Hi @"xfoxhack", Unfortunately, the type of API error you meet, is not yet included in Dropbox Python SDK supported error types for that call. Since there is not any additional error type fields (it's type void), as a workaround, you can catch the type 'ValidationError' and compare the content literally. In such a way you…
  • Hi @"w3Abhishek", If nothing set explicit as token access type, it's as assumed to be online access type! You need offline access type for refresh token. If you have forgotten set this parameter, just set it on OAuth2 initiation. 😉 Take a look here for possible flow. Note the parameter token_access_type. Hope this helps.
  • Hi @"juandom_gett", Following your idea, you can just create some shared folder and add desired collaborators there. If the collaborator is too lazy to click on invitation, but it uses your application too, then you (your application actually) can mount the folder to help this collaborator. So everything is ready for use.…
  • Hi @"cloudlock", First of all, keep in mind that path is a path to target file, not path to containing folder. If by any chance that folder exists, you have instructed Dropbox to overwrite folder with file - something impossible. Another reason could be that just on the pointed path (on place of some folder) there is a…
  • @"kenzy" wrote: I don't think so this is possible . It gives conflict error when I tried 😁 @"kenzy", Yes, by default it's so. If nothing set explicitly upload mode is 'add' - 'Do not overwrite an existing file' - as stated in documentation about this mode. Did you try overwrite or update mode? 😉 Hope this helps.
  • @"pvr325i" wrote:... In the browser console, GET http://localhost:3000/api/dropboxcallback?code=Ws4_UVwyTaIAAAAAAAAu5BM5xJGSNdXxF_y5V9JGyrs 401 (Unauthorized) appears. ... Hi @"pvr325i", You question could get reformatted and redirected back to you: What kind of authorization do you expect on this request and why do you…
  • Hi @"Bk13", To be honest I have never used the endpoint you used to use, so I have no any idea what's this. Even if that EP ever worked, you have to use the actual EP - /oauth2/token - not something else. Good luck.
  • @"graceturner" wrote:... Before uploading, make sure to read the binary data of the file and encode it using Base64 encoding. Then, send the encoded data through the API. ... @"graceturner", don't push others here to confusion! Your statement is definitely NOT true, in spite in use by some environments. Dropbox API doesn't…
  • Nobody can help you when you don't read your own writings! Yes, you have requested and received refresh token (offline declaration is enough), but later skipped it. You have fetched from the result only access token, but not the refresh token! 🤦 Why? I cannot say it clearer. PS: The example here shows how you can do it -…
  • @"Здравко" wrote:... As I supposed you have skipped the refresh token (part of the result also). ... @"PHAnetwork" wrote:... I can't seem to find out how to request a refresh token using the Python API. Do I need to say (or rather repeat) that you have it done already? 🤔
  • @"PHAnetwork", What is the meaning of word "short" (either about token or whatever else)? 🧐 Of course, I hope you know. In the same context why are you surprised that a short-lived access token expires? Your code is wrong (the second part) of course. As I supposed you have skipped the refresh token (part of the result…
  • Hi @"PHAnetwork", Your code looks fine. There is not something wrong. Important thing is what are you doing later with the result though! If I have to bet, you have some mistake on client object initialization. Make review there. 😉 Did you by any chance skip refresh token there? 🙋 Good luck.
  • Hm..🤔 In general everything seems fine and no error should be expected. There is one exception though - one more symbol: @"sz3324" wrote:..., "has_more": false}0<LF><CR> ... The zero here is definitely not on place! If this is not some copy/paste mistake, you may have some trouble in your system that you have to debug. In…
  • @"SosiOne" wrote:... But if I look at where the error comes from, there is a check: if (!this.codeVerifier) { throw new Error('You must use PKCE when generating the authorization URL to not include a client secret'); } so I suppose that something is not set up correctly here. ... Hi @"SosiOne", Yes, exactly - there is…
  • Hi @"JM2024", Execute following in terminal: cat /proc/sys/fs/inotify/max_user_watches What result does come back? Is it bigger of total number of files and folders in your Dropbox folder? If not, you have to increase it at least to the number of Dropbox folder entries number (again files and folders together). Dropbox…
  • @"dolphinuser426" wrote:... Even my old QNAP NAS works with Dropbox lol. ... Actually it's Linux, but doesn't use official Dropbox application. 🙂 There OEM application is in use, that's why works without issues. 🙋 I cannot comment what's the new issue since if you have reinstalled with some of supported FSes (not ext3, as…
  • @"Matthew S.50", Did you try move that folder using Dropbox web? If not, give it a try; it may succeed. 😉 Good luck.
  • @"Wookiee", The question of mine was rhetoric! I hoped it'll direct you. Ok... can you see the difference of your 2 posts and figure out alone what's different and wrong or...? PS: Everywhere some path can be used, the equivalent id can be used too. Even more a hybrid form may be used too: id of a folder followed by a…
  • Hi @"Wookiee", Are you sure, you have executed exactly that curl command you posted and not something else? 🤔 Why do I ask? The error message states that you have passed "Dropbox-Api-Arg" header, but it's missing on your post! 😉😀 Hope this helps.
  • Hi @"MooMoo_polar", The error message is clear enough, I think. Just forget to list the entire link (all its directories levels recursively) at once. That's it. First list the pointed folder itself (in non recursive way) and after that "by hands" all nested folder (again, in non recursive way) and so forth. Hope this…
  • Yes, as I suspected, you have correct FS but on incorrect place (see my previous post). I don't know how to say it clearer. Probably you got in confusion because Dropbox support selecting a place for where to sync Dropbox folder on Mac and on Windows, but not on Linux. On Linux Dropbox application cannot understand that…
  • @"dolphinuser426", As I suspected, your partition where Dropbox is supposed to exists is neither xfs nor ext4 (nor other expected). As can be seen there is ext3. 🤷 That's it. Unfortunately Dropbox is very pretentious. If I have to bet, you have correct FS, but mounted on incorrect place. Check this and fix your system -…
  • Hi @"dolphinuser426", To be sure what Dropbox application sees, check your configuration with following command in terminal: stat -f ~ What is reported as FS? 🧐 By the way NTFS is not supported by Dropbox on Linux and it should be something Dropbox never asks for. Where do you see such demands? That would be something…
  • @"Courtneyluv1013 " wrote: So once I upload the pics to my Dropbox I can delete the pics off my phone? Yes,.. and so you're going to free up some space for more pics... 😉