-
expired token when set to not expire
Have read a few posts on related topics here, and something definitely not working correctly... My app was doing weird things today, and I saw a expired token exception getting thrown. This has never happened before. From reading this…
-
Getting invalid request for PKCEOAuthFlow.ProcessCodeFlowAsync
Hi, I'm implementing PKCE now, but getting an invalid request exception. I can't see anything that I'm doing wrong from the doco (it says everything is optional except code and appkey). This is code that was working when I was using DropboxOAuth2Helper.ProcessCodeFlowAsync (but I want to convert to not sending the secret -…
-
Unclear about PKCE and .NET SDK
Hi, Firstly, I'm getting 404's on all your documentation at the moment, so I'm unable to look it up. e.g. the link https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_UploadSessionFinishBatchCheckAsync_1.htm is giving me 404. So, having got all the time-sensitive stuff dealt with, I…
-
Trying to get dotnet batch upload working (to solve "too many operations" issue)
Hi, I'm saving a lot of log files from parallel process and running into "too many operations" exceptions occasionally (I already rate-limited them to 1 per second start rate to deal with a rate limit issue) and saw mention of using batch upload to address this, so I'm trying to do so but I'm missing something somewhere…
-
Catching path/conflict/folder in CreateFolderV2Async
Not sure if y'all are on StackOverflow (I THINK so?) but I'm having issues with path/conflict/folder exceptions from CreateFolderV2Async, that being that my code successfully catches said exception, but then it still manages to show up in my global unhandled exception handler, which it shouldn't be. Not sure if the issue…
-
SaveUrlAsync not downloading all requested files
Hi, I'm updating an app I first worked on a couple of years ago. At that time I used SaveUrlAsync and it just worked. Well, I THINK it just worked - perhaps it was missing files and I hadn't noticed. Anyhow, now I am definitely missing files. i.e. in a batch of 20 file downloads, I'll typically be missing 3 or so. In fact…
-
Running into an odd problem when using UploadAsync
Hi, Same program as I've discussed before (.net running on UWP and Android) I'm having an issue when it runs on Android (works as expected on UWP. In fact I haven't even touched this particular code in months, but has only just stopped working on Android). In this case I've over-ridden the app settings with a hard-coded…
-
GetMetadataError path/not_found/.. only in certain circumstances for files that are definitely there
Hi, I'm writing a multiplatform .NET app which I'm testing on both Win10 and Android. Let's call this App1. I'm using GetMetaDataAsync in order to get the last modified time on a file. App1 working as expected on Windows (i.e. I get the last modified time returned to me). Now, I run App1 on Android and it crashes. Here is…
-
Sign-in stuck on my laptop - works perfectly on PC
Have downloaded a bunch of code updates to my laptop,which is currently connected to the same router as my PC (so minimal difference in IP address) and when I try to signin my app to Dropbox it is just stuck there (as I write this it's been more than 15 minutes, on my 2nd try). I confirmed still works on PC - signed in,…
-
App signout issue
Hi, Having issues with getting signed out in my app, so as to sign-in again with a different user (or simply prevent someone else from having unauthorised access due to still signed in). As far as I can see, you still don't have a signout method yet, and I've tried some of the things I've found suggested here to…
-
Getting "Stream does not support seeking" with GetContentAsStreamAsync
Hi, I'm currently using a C#/.NET nuget which works as expected when printing from an embedded resource as a stream. The problem is that it's not working when I try to use a Dropbox stream instead - I get "Stream does not support seeking". So, this code works.... Stream…
-
Using CSVhelper with Dropbox - need a stream
Hi. I'm currently wanting to use https://github.com/JoshClose/CsvHelper with a Dropbox CSV file, but it takes a stream. I'm looking around but can't find anything about getting a stream (I've been using DownloadAsync to date to get files, and yet for some reason my searches aren't even bringing up the doco for that for me…
-
Problem with GetMetadataAsync
Hi, I'm trying to test for the existence of a folder so as not to repeat myself. My understanding is that you use GetMetadataAsync and treat the folder as not there if you get an exception. (1) I'm getting exceptions at times that I shouldn't - i.e. there IS a folder there - and (2) I'm also having trouble getting further…
-
ApiException`1: path/conflict/folder/ error on fresh installation of SimpleTest
Was having some issues with Dropbox, so decided to go back to basics, and found even SimpleTest wasn't working, so I deleted and recloned, changed only the apikey in SimpleTest, and this time I managed to get the app authoristion screen to come up (wasn't getting that far before), so all appeared to be working now... until…
-
AuthException when already have token
Have got authorisation via login working, :-) but am having issues when re-using the token (i.e. bypassing having to login again). I'm getting... Exception thrown: 'Dropbox.Api.AuthException' in Dropbox.Api.dll Exception thrown: 'Dropbox.Api.AuthException' in System.Private.CoreLib.dll ...after a DropboxClient(token) call.…
-
Win32 exception
Having got SimpleTest working, :-) I've now turned my attention back to my own program to try and sort out the original issue. I thought from memory it was having problems in the same step as we had been with SimpleTest,but it turns out it was actually the NEXT step. In...…
-
RespondPageWithJSRedirect() - where is this defined?
Hi, I am trying to set-up a Dropbox connection in .NET (Xamarin to be precise). I am following http://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_DropboxOAuth2Helper.htm. When I start typing in "RespondPageWithJSRedirect()" it isn't being detected anywhere by intellisense (Visual Studio 2017). I've got all the…