Comments
-
@"Paul R.17" wrote:@"Здравко" I tried your demo link to create a token which worked fine, and produced a valid (short life) token which enabled the node-RED node to work OK. ... Hi @"Paul R.17", Not only short lived token, but all needed to use refresh process. @"Paul R.17" wrote:... But could you clarify this link which…
-
Hi @"Sparkle Muffin", I can't add too much, unfortunately. Most probably you have some other incorrect symbol or representation. Macrons are part of Latin Extended-A subset part of Basic Multilingual Plane. I just created a set a test file name using macrons: ... and as can be seen it works. Check some formatting symbols…
-
@"giovaniluigi" wrote:Hmm, I meant that its not often that a big company update their server and break all existing code running on their own SDK ... Hi @"giovaniluigi", Might be said, but how would you improve something like long lived access token when it's considered insecure? 🧐 Actually all existing tokens work still,…
-
@"giovaniluigi" wrote:... I imagined the temporary revoke would be a problem related to the time limit mentioned in recent posts, but I thought the SDK would still work. These are breaking changes... We don't see that often these days. ... 😯 Wow... If you have seen that is less than 100% after 4 hours... 🙂 You have…
-
@"giovaniluigi" wrote:... Sometimes, after successful authentication the token seems to get revoked by the server after a while. ... Hi @"giovaniluigi", You should take in mind that all new access tokens are short lived access tokens (you can distinguish them with starting "sl."). Despite an existing long lived access…
-
@"Paul R.17" wrote:... I have already looked at that, but could not understand how/where it would be added to the existing code. ... Hi again @"Paul R.17", 🙂There isn't some only correct answer to your question. It's matter either of every library' and/or application' design. The correct way depends primarily on how you…
-
Hi @"Paul R.17", Take a look on a simplified example here. You can get idea out from there, I believe. In short, new refresh token has to be added so your application can access desired account long term without additional user interaction. By now you are relying to short lived access token only and that's where your issue…
-
@"patrickf-nz" wrote:... Is it in UTC time? @"patrickf-nz", Yes, as mentioned here: Date format All dates in the API use UTC and are strings in the ISO 8601 "combined date and time representation" format: 2015-05-15T15:50:38Z
-
@"fangzefunny" wrote:... The large file cannot pass through the "post" operation, causing the problem of 413. ... Hi @"fangzefunny", For large files consider using upload sessions instead, not single upload. Every upload transaction is guaranteed to pass for no more than 150MB. In a session you can split the file content…
-
@"senthilnathan205" wrote:... I replace token key each 4hr Yes, exactly validity period (up border) for access token (as you named it "token key"). 🤷 Continue, if you like to be so. Otherwise, change you code to use refresh token too. That's it.
-
@"fangzefunny" wrote:... At the end of the experiment, the success message was always prompted. But the data was not always uploaded to my dropbox. ... ... var saveDropbox = function(content, filename){ dbx.filesUpload({ path: "/" + filename, contents: content }) }; ... ... Hi @"fangzefunny", In your 'saveDropbox'…
-
You can take a look on Dropbox API v2 documentation for available access points and their use in curl. For guide how you can use long term account access using API look on here. Add: You can't share anything when your restricted your application in an application specific folder. If you need to manage users sharing, you…
-
@"Conners" wrote:... what am I doing wrong? Hi @"Conners", The only wrong thing you are doing is following the outdated article. "long lived token" can't get issued anymore. Newly issued access tokens are always short lived. 🤷 That's it. If you want long term access you can consider refresh token usage. 😉 Hope this helps.…
-
@"Bob S.15" wrote:... I did change the flow to the new calls, but do I need to do something specifically to store this new short-lived token? ... You don't need to do anything special to store "this new short-lived token" (probably you mean the access token). You can continue using the same way or use any other. The main…
-
Hi @"Bob S.15", Some time ago long lived access token (the one your application relies on) was deprecated. Such tokens can still be used, if exist, but since recent can NOT more be issued. All new issued tokens are short lived (usually start with "sl.") with validity for 4 hours, at most. Most probably you haven't…
-
@"Tim Lempicki" wrote:... Any recommendations for tools to listen to these ports? Hi @"Tim Lempicki", There are lots of different tools to trace and evaluate particular connection of any kind. A typical example can be WireShark. Many tools availability is system dependent. If you have access to nc (or netcat), it's a very…
-
@"senthilnathan205" wrote:... var dpClinet = new Dropbox.Api.DropboxClient(TokenKey); ... Hi @"senthilnathan205", At the beginning, one error not directly related to the current issue, but will bring up soon, if let unfixed in advance. In your client initialization you are using access token only. This type of token is…
-
@"ketanapatel" wrote: ...How to keep alive access_token forever? Hi @"ketanapatel", Long lived access token is outdated and deprecated in Dropbox API. Generation of new long lived access token is already dropped, despite of an existing can still be used. So, if you have some already generated token, you can keep it…
-
@"Greg-DB" wrote:Files that aren't shared won't be explicitly listed as having sharing information or an owner. ... Yes, but this doesn't mean that listing shared members of particular file (even non shared) should fail! In such a case the owner will be the only listed user (or should be at least). Am I wrong? By the way I…
-
Hi @"jerry14", You cannot get such information within FileMetadata just because there is no such info within. 🙂 You correctly referred to SharedFileMembers (despite indirectly), where you can get desired info. Such a result you can receive from DbxUserSharingRequests.listFileMembers(java.lang.String file).…
-
@"Frank P E." wrote:... it seems that files are sent to the cloud only if the content change, and since changing the file timestamp the file was not upload with the new meta-data --- so is this how dropbox works? Thanks Hi @"Frank P E.", I 'll add "when content uploaded/created" to "only if the content change". In this…
-
@"FARO" wrote:... When I send a request, the code is only available for a first time, when I used in a future call, the code is invalid. ... Hi @"FARO", 🙂How long you expect a code to be used?! 🧐 Let's see. If you forget your credentials to some service and there is a option to receive a recovery code throughout a…
-
Hi @"phil-g3swh", I have no idea what you have done, but most probably there is a mistake. I'll try reproduce such a process. First let's get to some file 'A File': If you want to share this file, you can see: As can be seen you are not able to share with edit access. Ok, now let's create a wrapping folder 'A folder': ...…
-
@"Amicao", 🙂 Your questions are outside Dropbox API scope itself. As far as I can see you are confused by usage of your tools. CURL in PHP typically adds file content independent from headers and you can take a look on some tutorial for this. The command line version really by default catches files. Even in this case you…
-
Hi @"Amicao", I'm glad that my previous post helped you to some extent. About API changes: If you don't take in mind API state very log ago, API calls (most of them, including upload/download, you are interested in) are not changed or not significantly, at least. The only non back compatible change, recently released…
-
@"Amicao" wrote:... a file from user, upload it and later, get a access for this file and delete it if necessary. The problem is that upload the file and Dropbox change the file name to a own Dropbox hash system. ... Hi @"Amicao", It's good idea to you share some piece of your algorithm able to reproduce the issue.…
-
@"JavMirVal" wrote:..., I was able to upload files to my DropBox but the Token expires. Hi @"JavMirVal", If that's the only problem, explanation you can find here will lead you through the way, I believe. 😉 You will see how you can get to a refresh token and how you can refresh expiring access token. Your work left is to…
-
Hi @"PL89", Everybody able to access your phone can do whatever you can without password with all your resources there (including Dropbox). Because of this, important step is to protect your phone content generally. Of course, such a protection isn't very reliable, but is usually enough, since someone on the street that…
-
Hi @"phil-g3swh", Put the file you want to share in a folder (can create a new one, if need) and share the wrapping folder instead of the file itself. 😉 Hope this helps.
-
Hi @"makrand kulkarni", As can be seen on documentation (and on your screenshot) "Because /oauth2/authorize is a web site, there is no direct return value". What is a web site? 🧐 Ooo... it's HTML. 😉 Read more carefully.