Здравко Legendary | Level 20

Comments

  • Hi @"DylanC", Sounds like you're using group/business account and when upload a file you are pointing the place without explicitly set path root. Am I right? Take in mind that by default path root is the member folder (both for admin and regular user), not the account root (as seems, you are thinking 😉). That's where your…
  • Hi @"MightyModest", You are doing well initial authorization steps! 😉 So, you already have all needed to be able perform regular API calls. The API calls accept access tokens only, NOT refresh token!!! That's where start your errors. First, don't try replace the access token with refresh token - as you know already it…
  • @"Kronisk" wrote:... The one clue I have is that due to security or OS changes, the Dropbox required folder is now somewhere in the hidden Library folder, the location of doom for users who are not confident. Hi @"Kronisk", Yes, you are correct; the new (now mandatory) Dropbox folder location is…
  • Hi @"jbrede", As far as I can follow the logic of your code (in spite incompletely represented), you are trying to store Excel data as Google sheets. 🤔 Am I correct? If so, why? Hope this gives direction. PS: Just changing file extension doesn't change the file type! 😉 In your case you have Excel file content labeled with…
  • not_allowedVoid The user is not allowed to request a temporary link to the specified file. For example, this can occur if the file is restricted or if the user's links are banned. Cite from here. 😉 Hope this clarifies matter.
  • @"Megan" wrote:... Can you let me know more in regards to your issue?... @"Megan", can you let @"yendrrek" know how you have installed Dropbox application through official Dropbox repository on a fresh Fedora 37? 😉 Step by step walkthrough would be much more clear! By the way... did you do it actually? 🧐🤔 If no, try it and…
  • @"koizpad" wrote:... I want to be able to update a file while maintaining the same Dropbox shared link. ... Hi @"koizpad", Yes, that's the exact behavior when you update a file. 😉 You don't need to do anything more. @"koizpad" wrote:... However, when I replace it with another file with the same name, the link no longer…
  • @"LarsD" wrote:... Now I need a URL to share/open for that id. ... Hi @"LarsD", Do you mean a shared link? 🤔 If so, you can create such link using /2/sharing/create_shared_link_with_settings API call. 😉 Just put id as path there. If link already exists for particular id, shared_link_already_exists error will get back…
  • @"OLIM" wrote:I do not know where to store this token. ... Hm...🤔 really... 😁 Where you are keeping your application configurations? 🧐 ... different registry types, config file, some local wallet,... etc. 😉 The choice is yours! Most probably you have already made it if I have to bet, but you still don't understand it.
  • @"OLIM" wrote:... the user must open the browser and receive the code, from there paste it into the application, ... This is one possibility. I chose such a flow for clarity and simplicity. As mentioned there, you can automate this process using redirection. Then you will receive the same code through request parameter and…
  • Не разбирм руски, но от резултата на заявката ясно се вижда, че пак си поропуснал "code" параметъра... Нямам какво да добавя повече! Само ще повторя, че трябва да прочетеш още веднъж публикацията към която съм публикувал връзка и да следваш точно посоченото там.
  • @"OLIM" wrote:... http.Send ("{""oauth1_token"":""i dont now what is it"",""oauth1_token_secret"":""i dont now what is it""}") ... Me too... 🤷 Where came "oauth1_token" and "oauth1_token_secret" from? Do you have some outdated v1 tokens and want to transform them to v2 (the actual one)? You need to provide the temporary…
  • Don't make partial posting! 🤔 Where is the code actually?
  • Hi @"OLIM", I'm not sure what you ask for actually, but your example has nothing to do about tokens. There Basic authentication is used and it's something specific to this type of authentication, not just something Dropbox specific, and has always been performing using base64 encoding. You can't just concatenate the…
  • @"Здравко" wrote:... this 'data-binary'?! 🤔 Can you point out to the place where this is described? ... @"msmoe" wrote:... I am refer to the documentation. ... Hmm... really... Where is this documentation? Read it and probably you won't need somebody to tell you what you have to do. Again your main issue is the empty…
  • As I guessed, you have some network issues. Can you download the link above - https://www.dropbox.com/download?plat=lnx.x86_64 in some way and unpack it in your home folder? After that you should be able run the application, but without network connection it wouldn't work properly, most probably. Good luck.
  • Hi @"scipio3", Hm... 🤔 That's sounding really strange. It really needs the daemon to be download on first launch after install; the daemon is not part of the package itself. This is usually not a problem and this task gets handled automatically by the control script, part of the install and responsible for the application…
  • @"msmoe" wrote:... If so, how to do it? Sir. Please Help. Because I've tried and I can't. ... 🤔 I'm not sure what actually you ask me. Do you ask me how you can do a post HTTP request? 🧐 If so, you have already done one successful - take a look on your call to /2/files/get_temporary_link (the result of which is last post…
  • Hi @"msmoe", Seems you haven't read your tooling documentation. What is: @"msmoe" wrote: ... $res = $client->request("POST", "https://content.dropboxapi.com/2/files/upload", [ 'headers' => [ 'authorization' => "Bearer {$this->getToken()}", 'Content-Type'=> 'application/octet-stream', 'Dropbox-API-Arg' => json_encode($args)…
  • Hi @"mauro991", Yes, exactly, the reffered post is correct. One of my posts together with the interest to the matter provoked 'official post'. As result of setting "offline" mode, you are receiving refresh token and... instead using it as such (long lived), you are using it as a short lived one! This is your issue. There…
  • Hi @"mauro991", The code you are talking about is for one time use. 🙂 This code is used as a confirmation when refresh token (and others) are going requested. Short after that it's no more valid. You need to keep the received refresh token and reuse it instead of the confirmation code. 😉 Refresh token doesn't expire…
  • @"SneYellow46" wrote:... How I can make the DBUserClient, initWithAccessToken call with this refresh token to get access to my dropbox. similar to , client = [[DBUserClient alloc] initWithAccessToken:@"I5wqb1d...."]; ... I found with methods with initWithAccessToken which takes in refresh token ... No unfortunately, the…
  • @"msmoe" wrote:... size is 0. why sir? Hi @"msmoe", This means the file has been uploaded incorrectly. Do you able see the same file using the web interface of your account? Is there some content? How have you uploaded it; using web interface, locally installed Dropbox application, or API (in your application)?
  • @"Walter" wrote:... For anyone affected who'd like to have a look internally, please let us know here and we'll reach out via email to investigate further. Hi @"Walter", If someone from your developers in spite available push request want to take a look more close, a good start point is running up to date nautilus and try…
  • @"SneYellow46" wrote:... I know that using oAuth flow tokens are refreshed automatically by DB SDK. But in my case what is the solution? ... The same. 😉 Once you get to the authentication info just save it and embedding. That's it. Take a look on the description if you have something forgotten.
  • @"SneYellow46" wrote:... So in such case is it possible to refresh the token from the mobile side without oAuth flow?. Yes, it is. Once refresh token is available the refresh can be done on any platform; not only on mobile (as a process it's the same; just a call to Dropbox server whenever needed without any user…
  • @"SneYellow46" wrote:..., we wanted our application to be distributed to few users directly with embedded access token so that that they just install the app and start accessing data/files from our DB account within the application. ... In such a case you can count it as something like server side application (server side…
  • @"SneYellow46" wrote:... Yes that is the issue, the data resides on our dropbox and we dont want to give users access to our dropbox credentials that is why don't want to use oAuth flow. ... 🤔🤨🤷 Just opposite!!! That's why I told you that embedding any long lived token is not good idea for something different than server…
  • @"SneYellow46" wrote:... Do you mean we have to make oAuth flow from my application once and get access token and use it later do distribute to other users to grant access? ... No, no, no... You said that you need generated access token. That was related to this - nothing more!!! I said, such a solution is suitable for…
  • @"SneYellow46" wrote:... Note that we need to use the generated access token approach other than oAuth flow. ... Hi @"SneYellow46", You can't use generated access token for long term access. All access tokens are short lived (including generated). You may retrieve refresh token in separate application (so one OAuth flow…