Здравко Legendary | Level 20

Comments

  • @"digb150" wrote:... I get the following message "curl: (18) transfer closed with outstanding read data remaining". ... Hi @"digb150", Seems you are using curl to download your file. Curl provides option to continue download because of broken connection, for example. I don't know what command options you are using, but if…
  • @"AmanSingh" wrote:... Error message I am getting - Exception in 2/files/restore: "invalid_revision" Hi @"AmanSingh", How and where did you get the revision from, that gets refused here as an invalid? 🤔 Can you describe exact steps or, as @"Greg-DB" has mentioned above, share some code snippet reproducing the issue?
  • Hi @"flof92", Shared folder content engage capacity for all sharers, not just to the owner as you have thought. 🤷 Dropbox politics! That's why you capacity gets exhausted quickly. As a workaround, instead of folder share, content owner can provide shared link to let you access the folder and file request to let you (and…
  • @"af11" wrote:... In the documentation, it seemed to say that calling this method would return a json object, not this thing. I would like to access the data it's returning but don't know how to. ... Hi @"af11", Yes and No! I don't know what kind of documentation you have read, but seems you have mixed different things.…
  • @"LukeyB" wrote:... I'm trying to work within a prebuilt framework, where the location I wish to receive the webhook calls is determined by the parameters, and the current functionality breaks the request. ... Hi @"LukeyB", That sounds very strange! 🤔 Generally order of URL parameters shouldn't have matter. Any HTTP query…
  • Hi @"hb-dev", 2/files/list_folder lists a folder content (as the name suggests) and returns files and folders residing within directly or recursively (depending on "recursive" parameter). Most probably you will need 2/files/list_folder/continue to complete the list retrieval. To receive links to the files inside, you can…
  • 😁 Good workaround! GZIP or nothing... 🙂 Better than before. Matches the specification at least. 😉
  • Hmm... 🤔 Yes, that's correct. There is some misconfiguration probably. Just for more reference follows example request: GET /static/fonts/opensans/OpenSans-Bold-webfont.ttf HTTP/2Host: cfl.dropboxstatic.comUser-Agent: UtilityAccept: application/font-woff2;q=1.0,application/font-woff;q=0.9,*/*;q=0.8Accept-Language:…
  • @"VijayKumar E" wrote:... So why should I set the content-type as application/json", "application/json; charset=utf-8", "text/plain; charset=dropbox-cors-hack" for the request ? .... You shouldn't set anything, actually. @"VijayKumar E" wrote:... When I tried the API by passing the content-type as empty string (…
  • Hi @"Hanton", You have to get out of the folder you want to remove and try to delete it while it's selected; you shouldn't get back into the same folder. Take a look on following screenshot: Here folder 'Test' is equivalent of the one you want to delete. 😉 Hope this helps.
  • Hi @"VijayKumar E", The error message is descriptive enough, I think. For most API calls data are transferred in JSON form, not in urlencoded one. Seems you are trying to pass something in incorrect form. Even more, neither '/users/get_space_usage' nor '/users/get_current_account' require any parameters, so what are you…
  • Hi @"ancso", Where is 'redirect_uri' header in your call? 🤔 Did you forget it? 🧐 Review here again. Good luck.
  • @"af11" wrote:... I did that now: id = os.environ.get('USER_ID') dbx = DropboxTeam(token) dbx.as_admin(id) But now, I can't do all the methods that I did in the Dropbox class above, for example files_list_folder(). ... Hi @"af11", Hmm... 🤔 Where you are keeping Dropbox object resulting from the last call in your code? ...…
  • @"gagsbh" wrote:... I would like to make the upload of several files happen is parallel so I like to implement "UploadSessionFinishBatchAsync". ... In case most of the files are small in size and the memory stream is used completely in UploadSessionStartAsync(args, memStream), then what do I pass in memstream parameter in…
  • Hi @"vas1992", Yes, 'six' module is part of Python standard distribution and that's why preinstalled, of course. @"vas1992" wrote:... (vRMS) pi@RU000Q:~/source/RMS $ python3 -m pip show sixName: sixVersion: 1.8.0... Your version (1.8.0) is far old! 🤷 At that time 'ensure_str' isn't part of 'six' and that's why missing in…
  • Hi @"vas1992", @"Greg-DB" asked you for result of a command like: pip3 show six or another option: python3 -m pip show six Whatever you prefer. 😉 Function 'ensure_str' should come up there, that seems missing now for some reason. In addition you can find out your six.py place by using following on command line: echo…
  • Hi @"hrh747", Since you have your access token checked and it's working, seems you have saved the token in wrong way and/or improperly read it within your code. The best way for debug this case, I think, is to "resurrect" the variable you did use before, so there would be reference value. Compare value you are reading from…
  • Hi @"alicera", For any kind of error that might come up on command line, you can check the retrieved result. For most commands (including 'wget'), success is denoted by zero. Any different exit status means that something happens considered as a error. File not found (HTTP status 404) gets transformed to server issued an…
  • Hmm... In such a case, since you can not post the flat HTTP request as @"Greg-DB" asked for, I can't say something more. Anyway... Here are "x-dropbox-request-id" values and let's hope @"Greg-DB" will be able trace what's there. Good luck, @"Leon_NAM".
  • @"Leon_NAM" wrote:... Input: ... "gzip": true, ... ... Hi @"Leon_NAM", You are using gzip encoding in your request. Dropbox API uses flat requests parameters (including passed as body) and any type of encoding can confuse it. Do you able forbid the encodings for all Dropbox API requests? 🧐 Let's see if this can help.
  • @"hey_you", Mostly like ordinal file system, Dropbox storage is organized to keep files content in structured manner as a data piece. Such pieces of data are (usually) structured hierarchically in directories/folders. If we assume files are like bags of some goods, folders are like a hangers for these bags. Every one "bag"…
  • Hi @"GameOnCloud", 🙂 Seems, you have misunderstood the meaning of upload session. Let's take a look on upload process at all. The simplest upload can be performed using 2/files/upload. Main drawback here is limitation, set to any single HTTP transaction to the Dropbox server, be up to 150MB size. Which mean you can't…
  • Hi @"anotherprofile", 🙂 The described by you perfectly match default system behavior. When you drag and drop some content from one place to another you either copy the content or move it. When source directory and destination directory both reside in the same volume (on real or virtual device) moving gets performed. In…
  • @"Leon_NAM" wrote: .... Just saying "there is a [409] no_permission/.. error" ... Hi @"Leon_NAM", Yes, sometimes the error message isn't too verbose. 🤷 It's clear though that some permissions are missing. Do you able to share the same folder, using web interface, in context of the same account? 🤔 Are you (as account) the…
  • Hi @"Stefan Braem", Seems you have posted a link result of redirection from original link ( the one ending as /2021-11-26 02-02-21-1.mp4?raw=1 ). Redirected links validity can be restricted in time. Is the original link still valid? 🧐 If yes, use it instead of redirects. 😉 By default it's not limited in time. Hope this…
  • @"Leon_NAM" wrote: ... now I am getting a 409 instead of a 401 error which is probably due to missing permissions my account has) HTTP status code isn't enough for reason conclusion. Pay attention on error text (as you did within OP)! There you can see the exact error text and probably precise error description (or…
  • @"Leon_NAM" wrote: ... I am using the Dropbox "Make an API Call"-module in Integromat and "/share_folder". I have tested it both with a path that is an existing folder and with one that would create a new folder but every time I run the operation I get the error "The operation failed with an error. [401]…
  • @"JvdMaarel" wrote:@"Здравко" ... and here a view of the Photos (new) folder which doesn't reside in the Dropbox folder. It contains thousands op photos and seems to depict the contents of my Apple Photos library. Hi @"JvdMaarel", The folder you labeled "Photos (new)" is virtual folder accumulating all pictures/photos…
  • @"JvdMaarel" wrote:... I get the impression that Dropbox is trying to sync my photo library, even though the backup function is turned off and I don't see these files appearing anywhere in the Dropbox folder. ... Hi @"JvdMaarel", According your description, Dropbox' Backup isn't turned off, despite your impression. Did you…
  • Aha... I see. Your problem is a GUI problem actually. Dropbox has lot of troubles related to taskbar icon. Seems like some inconsistent/bad coding practice, making code unstable. There are lot of signals related to different "symptoms" of missing or inconsistent icon/menus showing. Your description is just a possible issue…