Здравко Legendary | Level 20

Comments

  • Hm..🤔 To be honest, I have no idea what you ask me for... What you mean: account of the uploader 🧐 Isn't it your own account or account of this "uploader"'s user (whoever is he)? If so, the method above does this... or what's wrong actually? 🤷 ... Can you clarify? @"dsoprea" wrote: ... Are you saying that you think that…
  • Haha..😀 Hi @"dsoprea", Yes, good equilibristics, but as can be seen in error message you're relying on methods (users_get_account(account_id) in particular) that require User authentication already and cannot work on Team authentication (what you're trying)! 😉 Unfortunately, this is not mentioned in Dropbox Python SDK…
  • @"hoangtm", another way such thing to happen is when your current version is not the last one, but rather some previous. Have you restored (at some point) that file version on or after 8 July, 2023? 🧐
  • @"toyheart" wrote:..., maybe using new format is much more safe. ... Hm..🤔 I would never advice you to bet on this! Nothing in the change shows any focus on the safety or least I cannot see/think of such. If I have to bet, it would be that the safety is the same. 🤷
  • @"Inderjeetdev" wrote:... Main issue is that if I depend on https://api.dropboxapi.com/2/files/list_folder , it needs 'Dropbox-API-Select-User', so it don't allow to access shared team folder outside a user's folder. How do I access them through API? Hi @"Inderjeetdev", Yes, you are correct. Take a look on the discussion…
  • @"lisarosado" wrote:... the video link is the same link you would use to share it, however I strip out the query args from that share url. So the url ends up being the share url minus the original ?dl=0 or whatever else is included, and then I add raw=1&autoplay=1 ... Hi @"lisarosado", Can you take a look once again on the…
  • @"toyheart", it's exactly so possible as was before, neither more nor less. The key thing is that by default all Dropbox links use redirection, so any anchor (including time stamp related, but not only) drops. You can avoid redirection in the same way as before - altering domain. 😉 Good luck.
  • Hi @"Mgymnasts", As seems, you're trying to list some file. 🙂 Only folders can be listed! When you perform list to the folder where particular file resides in, you will get that file information together with all other. Of course, you can get the file metadata directly if that's what you want, using corresponding method.…
  • @"andrejpet" wrote:Could be that during the dev process I accidentally created a refresh token without the app having valid permissions. ... If you used that token, for sure.
  • @"andrejpet" wrote:... Hence my explanation that my refresh token generated an access token that does not have all the permissions. @"andrejpet", Yes, of course, but this doesn't happen suddenly! Actually you never had such permission granted to the refresh token and following to the access token. You need to make sure you…
  • @"andrejpet", unfortunately I cannot say much more than what's already said in the thread I linked to above. I think it's detailed enough. Even more it's the first time, I know about for such thing, you described: @"andrejpet" wrote:... My confusion lies in the part where I was getting valid access tokens with my refresh…
  • Hm...🤔 Ok. @"andrejpet", let me ask, after initial receiving of access token with grant type access code, how often you need to and receive access token with grant type refresh token? In other words, how often you do a call something like: curl https://api.dropbox.com/oauth2/token -d grant_type=refresh_token -d…
  • Hi @"andrejpet", I suspect, you're missing some details of how refresh token is used. Take a look on the discussion here for a detail ed example. Just don't forget the refresh itself; owning the refresh token is NOT enough! Good luck.
  • @"kodieatsyou" wrote:... The admin for my teams dropbox account added the app using the app key and app secret key while following the instructions found here: https://help.dropbox.com/integrations/app-integrations . Im not sure if this is all we need to do to link my app to the team account. ... Hi @"kodieatsyou", Letting…
  • @"leeharris" wrote: ...dropbox.fs_api.lifecycle.FsApiClientCreationException: "Initializing fs api |>> Initializing application filesystem |>> Attempting to create new files directory for ApplicationFilesystem |>> Error making tempdir |>> mkdirat |>> mkdirat syscall |>> Unknown posix error (0x6)" Hi @"leeharris" and all…
  • @"expertbet" wrote:... Without the "Admin-Header", no folder are listed because "the OAuth 2 access token you provided is for an entire Dropbox Business team". But with the "Admin-Header" there are only the private folder liested. ... @"expertbet", In addition to all already said, you miss a fact that all file/folder…
  • @"Poui" wrote:..., is there a way to permanently change an account API-Path-Root like it was before the Saturday update ? No there is no way to change API root permanently. It is and always has been the user/member folder by default - i.e. nothing changed in this regards. The only changed thing is (as you described) your…
  • @"nagasayan koduri", There are examples for different types of accounts (personal and business) of the request payload, so I have no idea why you cannot see them. @"nagasayan koduri" wrote:... to know the event type, which file got added/deleted, etc. ... There is no event type in the event notification requests! Only…
  • Hi peeps, By default, Dropbox API always access user folder as default namespace. For accounts that user folder give access to all data particular user has access to (i.e. personal accounts and business account with team folders configuration), it's ok - you don't need to do anything in addition - the default is fine. For…
  • Hi @"nagasayan koduri", Description and additional data for webhooks can be seen here. @"nagasayan koduri" wrote:... Could you please guide me on how to add the webhook and also provide the sample request body when a file is added to the dropbox account? ... Just keep in mind that there is no way (not yet at least)…
  • Hi @"akanshikumari", As noted in /2/sharing/get_shared_link_file documentation: Download the shared link's file from a user's Dropbox. In other words, you can use this access point to download... downloadable files only. 😉 The file you're trying to download is NOT a downloadable one, it is exportable! As noted in the same…
  • @"dimitrisramos" wrote:Yes i did, same error still Are you making similar change still like in your previous post?! In every link every symbol is important... Even one symbol changed, erased, or added(as you have done before, above) gonna invalidate the link... Make sure you're using the correct (original, unchanged) link,…
  • Hi @"Thang2000", Your mistake is that you're expecting Dropbox always returns data for link metadata (i.e. getSharedLinkAlreadyExistsValue() returns valid, non null, value). Unfortunately, returning valid value is something possible and likely, but not mandatory (i.e. it's absolutely normal, data for the existing link to…
  • @"silvacarl" wrote:... if you know of a simple/easy way to move entire directories from one dropbox account to anotehr let me know. ... The simplest (and fast) way to move folders between account is to share them, either as share folder and follow up transfer ownership or using shared links to every one folder and follow…
  • @"aawasthi" wrote:... would you rather recommend to setup my dropbox differently to generate a single member account client_id and secret instead of entire Dropbox Business team Hm.. You can neither identify single member nor team using "client_id and secret" only!!! The "client_id" is associated to and identifies the…
  • @"aawasthi" wrote:..., after configuring the connector in AEM DAM with correct client_id and secret I am always getting below error (Only set Individual scope): This app has been blocked for your team. Go to the admin console to change permissions for aem-dam-app (dbaid:AACLz8mRx8VyniCGWMn24BIjzOxVrihNfeQ). ... Hi…
  • Yes, let's think a bit: you have parameter name "file_extensions" 😉 (plural, not singular)! Here a list of extensions is expected, so even when there is single extension, this extension has to be an only entry in a list and not raw string (as noted in the error message too).
  • @"silvacarl", If the only thing that you're looking for is isolation of all files which status is not up to date, then following command can do this: find ~/Dropbox -type d,f,l -exec dropbox filestatus '{}' ';' | grep -iv "up to date" Of course, if your Dropbox' folder position is different, adapt the path. Not necessary…
  • @"Здравко" wrote:... You can search for such files using /2/files/search_v2/continue_v2. Just restrict the search to particular extension and look in filename only with the same string as the extension. ... @"toki4004" wrote:If I use "search" - what would I put for "query"? I don't know the file name - I only know the…
  • @"toki4004", The access point /2/files/download can download file only. If you want to download a folder together with entire content, there is another access point /2/files/download_zip that downloads pointed folder in zipped form. 😉