Здравко Legendary | Level 20

Comments

  • @"Ashrafali" wrote: ..., if the file is too large then the chooser stays open ... Hi @"Ashrafali", Do you perform file operations in chooser's callback or let it return before (or immediately after) start processing? 🧐 Take in mind that chooser will stay blocked as much as you block it's execution within the callback. 😉…
  • Hi @"11robert", There is an "SimpleTest" example showing the .NET SDK usage (including the idea for file upload). Dropbox doesn't provide Visual Basic support, but you can "translate" the idea from example mentioned (it's C#), I believe. 😉 Hope this helps.
  • Hi @"Akansh Gautam", About the error of team folder creation, seems you have forgot select 'team_data.content.write' space. About sharing, it's unsupported for App folder.
  • @"Omri1984" wrote:... and we are not doing refresh token at all , ... Hi @"Omri1984", You are "not doing refresh token at all" - exactly; and that's where you issue is coming from. 🤷 I have no idea why you refuse to understand that. @"Omri1984" wrote:..., all manage automatically ... No, here you are wrong! Version 4.7…
  • @"Omri1984" wrote:we are using dropbox 4.7 .net sdk Version 4.7 does not support refresh tokens! Update it (your application too).
  • @"Omri1984" wrote:... an up until now alll was good suddenlty the automatically refresh token stop working and we are getting this error Dropbox.Api.AuthException: expired_access_token/ ... Are you sure you are using refresh token at all? 🤔 The error states access token issues, not refresh token!
  • Hi @"alexiscastillodj", Instead of suspicious advises from unofficial places you can read the official documentation. 🙂 Isn't it? About teams: Have you identified particular team member before try to make files access using either as_user() or as_admin() methods? 😉 Hope this gives direction.
  • @"TCLTC32" wrote:... Currently I can have only "short lived" token which expired, ... Hi @"TCLTC32", There are no more long lived access tokens (no new at least). Using refresh token you don't need to authorize by hand again and again. Once existing short lived access token expires, it can be automatically "refreshed". If…
  • @"nadeemphpdots" wrote:... Is there any api to get both thumbnail and actual image? No, both - no. You already know how to display your thumbnail. For actual image, you can select using shared link, temporary link, or image data (like the thumbnail). Shared link can be created with…
  • 😁 I'm not sure you understand, but you are trying to put image file binary content as a source URL of an image. I thought my post above was clear, but seems it's not enough. Think of your "$data" as a content of an image read from file available on your server (not as a URL to there). What will be the result? 🧐 🙂 You have…
  • Hi @"nadeemphpdots", Seems you have found out your PHP string error. 🙂.... And... What's wrong here? 🤔 Everything seems normal. Your jpeg, you opened as text, might confuse you. Isn't so? 😉 Hope this helps.
  • @"icossean" wrote:... Only after we clear their API Key/Token from our server and then re-authenticate the client's credentials to apply a new API Key/token, the connection is restored and the upload function works again. ... Hi @"icossean", What actually do you mean here with "API Key/Token"? 🧐 Dropbox uses OAuth2…
  • Hi @"leoheck", Yes, you are as expressive as possible. I can't add too much. Unfortunately I can't disagree. 🤷 Linux is NOT first class citizen here. About 'isSet' method deprecation, it's just one more example. This planed move didn't reflect in the control script, as you mentioned. Fortunately, this method is not dropped…
  • Everything seems normal in your post @"alanpmuscat". You files are in sync, at least. If I have to bet this is some type of escalation of old problem related to tray icon and menu. Nobody from Dropbox development took care! There are bugs in haw Dropbox application "communicates" to the desktop environment. It always has…
  • Hi guys, Nobody have posted the status command result. There could be some additional info or direct guidance (sometimes). Check result coming from following command executed in terminal: dropbox status I believe, you can figure what's going out. If some doubts, post the result. Sometimes troubles can be seen (and…
  • @"nadeemphpdots", In addition to what Greg said, you can use those calls also with Application Authentication. In other words, you don't need to be logged in since shared resource isn't something private (by assumption). @"Greg-DB", I thought to post the example in App Authentication section, but there is a mistake. Can…
  • Hi @"bozae", Did you specify some type of content or transport ('Content-Type' and/or 'Content-Encoding' headers) on upload time? If you did, Have you checked for their compatibility? @"bozae" wrote:I uploaded a .txt file to an app folder via DropBox API with Python. ... And... no any error as a result!? 🤔 Try upload again…
  • Hi ageing @"sunilgeechoo", I'm not sure what actually you have done, but if you stopped after browser generated code... it's just a code, not refresh token, as you might thought. This code can be used one time for refresh token generation and for nothing else! As seems you haven't done it or trying multiple times (I…
  • Hi @"UserAccount", Are you sure you have tried with real folder id (as received from corresponding API call) and not some malformed path? 🤔
  • No, refresh token doesn't expire itself. It's long lived and can only be revoked by the application or by user on demand.
  • @"Reshma " wrote:How can we see the Template added for user and File Properties added for a file in Dropbox webapplication(UI) ... Hi @"Reshma ", You can't actually. As you can see here: Templates are owned either by a user/app pair or team/app pair. Templates and their associated properties can't be accessed by any app…
  • Hi @"sunilgeechoo", Using long lived access token is deprecated and creation of new is already dropped. That's why you're getting short lived token only. Alternative for long term access is refresh token. You have to adapt your application to use such token type. For possible way of refresh token creation, take a look on…
  • Hi @"liszt", That, what you are trying, is Dropbox application related, not Dropbox API! If you are tolking about desktop application, don't have to do anything. Dropbox application takes care for the automatic update for you. You just have to copy updated content back. When mobile application is on focus, it could be a…
  • Hi @"ENGR_MANSOOR", All you need to change is already pointed out in the error message posted. Have you done it? If not, just do it. 😉 Take in mind that associated scopes are "cached" within your token used! You need to revoke current token and reauthorize your application (login) anew, so the change can take effect. Hope…
  • Hi @"Walter_E", As far as I know Dropbox Backup is NOT supported on Linux. That's not so bad thing cosa this feature is not very well implemented in general. You can achieve the same, as move desired folder within Dropbox folder (or it's subfolder) and set link pointing to the folder on it's new place and residing on…
  • No, no,... That's not a setting either on your application in console or anything else. It's the workflow on authorization supported by Dropbox and selected by you eventually. As an example, again on the same file, take a look here. You can see example of PKCE usage. You have used something similar on initial…
  • @"phunction" wrote:... I changed this part: DropboxClient dbx = new DropboxClient(szRefreshToken,appKey); ... Hi @"phunction", What type of authentication flow have you selected in your application? 🤔 Take in mind that constructor overriding, used by you, is applicable only with PKCE flow! If you are using something else,…
  • @"phunction" wrote:... Is there a way they can just authorize my app so I don't have to deal with the login part? ... @"phunction" take a look on the line where refresh token is referred to. Once you got to this token, next time you can skip actual login part and process directly the client creation. Owning the token keeps…
  • @"kir9ost" wrote:... Tell me pls, may i upload APK file to dropbox server and share direct link with users of our app? ... Hi @"kir9ost", Yes, you can upload apk (or any other) file to Dropbox and share to anybody else using shared link. @"kir9ost" wrote:... restrictions ... Depending on plan in use traffic may be…
  • Hi @"yurpub", You didn't clarify what SDK and what version you are referring to. Generally talking when you have got refresh token you don't mandatory need anything else. Depending on which SDK you are using, there is some way to build new client object with the owned refresh token and dummy other arguments (when they are…