You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

setycz's avatar
setycz
Explorer | Level 3
2 years ago

Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: E

Dear support,

 

since 20th May we have started to encounter random failures when invoking `DropboxClient.Files.ListFolderAsync` function, see the following stacktrace:

 

 

Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: E. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Dropbox.Api.Stone.JsonReader.Read[T](String json, IDecoder`1 decoder)
at Dropbox.Api.DropboxRequestHandler.<RequestJsonString>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Dropbox.Api.DropboxRequestHandler.<RequestJsonStringWithRetry>d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Dropbox.Api.DropboxRequestHandler.<Dropbox-Api-Stone-ITransport-SendRpcRequestAsync>d__12`3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---

 

 

One day the same code with the same storage works and the other it does not. This and the fact that the JSON response from DropBox seems to be invalid indicates that the issue might be with DropBox API it-self. The issue seems to be appearing more often lately. 

 

Our application is .NET Framework 4.8 and using Dropbox.Api 6.30.0.

 

Were there any recent breaking changes? Could you check the API on your side? Or recommend any actions we can take?

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Engineer rankDropbox Engineer

    Could you provide the actual code that you are running?

     

    Please include the parameter values, but don't include the access token.

    • setycz's avatar
      setycz
      Explorer | Level 3

      Hello, 

       

      this is a sample app:

       

       

       

      using System;
      using System.Collections.Generic;
      using System.Linq;
      using System.Net;
      using System.Net.Http;
      using System.Threading;
      using System.Threading.Tasks;
      using Dropbox.Api;
      using Dropbox.Api.Team;
      
      namespace DropBoxConnectorSample
      {
          internal class Program
          {
              private sealed class CustomWebRequestHandler : WebRequestHandler
              {
                  protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request,
                      CancellationToken cancellationToken)
                  {
                      var requestBody = await request.Content.ReadAsStringAsync();
                      Console.WriteLine(">>> " + requestBody);
      
                      var result = await base.SendAsync(request, cancellationToken);
      
                      var resultBody = await result.Content.ReadAsStringAsync();
                      Console.WriteLine("<<< " + resultBody);
      
                      return result;
                  }
              }
      
              private HttpClient CreateHttpClient()
              {
                  var handler = new CustomWebRequestHandler
                  {
                      ReadWriteTimeout = 10 * 1000
                  };
                  if (handler.SupportsAutomaticDecompression)
                      handler.AutomaticDecompression = DecompressionMethods.Deflate
                                                       | DecompressionMethods.GZip;
      
                  return new HttpClient(handler) { Timeout = TimeSpan.FromHours(24) };
              }
      
              private DropboxTeamClient CreateTeamClientAsync()
              {
                  var httpClient = CreateHttpClient();
                  const int retryCount = 4;
                  return new DropboxTeamClient("YOUR TOKEN",
                      new DropboxClientConfig(null, retryCount) { HttpClient = httpClient });
              }
      
              private async Task<string> FindMemberIdAsync(DropboxTeamClient client)
              {
                  var criterium = new UserSelectorArg.Email("YOUR EMAIL");
                  var memberInfo = await client.Team.MembersGetInfoAsync(new[] { criterium }).ConfigureAwait(false);
                  var id = memberInfo.FirstOrDefault()?.AsMemberInfo?.Value?.Profile?.TeamMemberId;
                  if (id == null) throw new InvalidOperationException("Could not find a dropbox user.");
      
                  return id;
              }
      
              private async Task<DropboxClient> CreateClientAsync()
              {
                  var teamClient = CreateTeamClientAsync();
                  var memberId = await FindMemberIdAsync(teamClient).ConfigureAwait(false);
                  return teamClient.AsMember(memberId);
              }
      
              public async Task<IEnumerable<string>> ListFoldersAsync(string relativePath)
              {
                  var client = await CreateClientAsync().ConfigureAwait(false);
      
                  var folders = await client.Files.ListFolderAsync(relativePath).ConfigureAwait(false);
                  var result = folders.Entries.Where(e => e.IsFolder).Select(e => e.AsFolder.Name).ToList();
                  while (folders.HasMore)
                  {
                      folders = await client.Files.ListFolderContinueAsync(folders.Cursor).ConfigureAwait(false);
                      result.AddRange(folders.Entries.Where(e => e.IsFolder).Select(e => e.AsFolder.Name));
                  }
      
                  return result;
              }
      
              private static async Task Main(string[] args)
              {
                  while (true)
                  {
                      var p = new Program();
                      var result = await p.ListFoldersAsync("/Test");
                      Console.WriteLine("END: " + string.Join(", ", result));
                  }
              }
          }
      }

       

       

       

      and this is the output when the error appears:

       

       

      >>> {"members":[{".tag":"email","email":"CENSORED"}]}
      <<< [{".tag": "member_info", "profile": "CENSORED", "role": {".tag": "team_admin"}}]
      >>> {"path":"/Test","recursive":false,"include_media_info":false,"include_deleted":false,"include_has_explicit_shared_members":false,"include_mounted_folders":true,"include_non_downloadable_files":true}
      <<< {"entries": [{".tag": "folder", "name": "apa", "path_lower": "/test/apa", "path_display": "/test/apa", "id": "id:UhiqWUVtd8AAAAAAAAAAow"}, {".tag": "folder", "name": "automated", "path_lower": "/test/automated", "path_display": "/test/automated", "id": "id:UhiqWUVtd8AAAAAAAAAAIQ"}, {".tag": "folder", "name": "browsing tests", "path_lower": "/test/browsing tests", "path_display": "/test/browsing tests", "id": "id:UhiqWUVtd8AAAAAAAAAsew"}, {".tag": "folder", "name": "css", "path_lower": "/test/css", "path_display": "/test/css", "id": "id:UhiqWUVtd8AAAAAAAAAAIA"}, {".tag": "folder", "name": "integration", "path_lower": "/test/integration", "path_display": "/test/integration", "id": "id:UhiqWUVtd8AAAAAAAAAAHg"}, {".tag": "folder", "name": "Integration C#", "path_lower": "/test/integration c#", "path_display": "/test/Integration C#", "id": "id:UhiqWUVtd8AAAAAAAAAEZw"}, {".tag": "folder", "name": "mock", "path_lower": "/test/mock", "path_display": "/test/mock", "id": "id:UhiqWUVtd8AAAAAAAAAAHQ"}, {".tag": "folder", "name": "regression", "path_lower": "/test/regression", "path_display": "/test/regression", "id": "id:UhiqWUVtd8AAAAAAAAAAHw"}, {".tag": "file", "name": "final destination.pdf", "path_lower": "/test/final destination.pdf", "path_display": "/test/final destination.pdf", "id": "id:UhiqWUVtd8AAAAAAAAAc7g", "client_modified": "2016-11-29T15:22:17Z", "server_modified": "2017-02-14T09:44:51Z", "rev": "604340e409a1", "size": 808635, "is_downloadable": true, "content_hash": "78e2ad053ee6a7ead2d1afa12d49f5341daa02e744fdd4b0ccf4bbd376e1e646"}], "cursor": "AAE7WqHRPGfpkYDfpmNv9eFrDHK22RuktQCvQU7QdotyU5dFr4p1F9114G_T6S7VLeFpXK1KRZ1WPiy0FWGjC6LnCeOgOkKLr6dhZJYLw42kDGzbNYy5GAyArF4rRTNaykokwNDXvCr6w7HFvV25JOZTGTpHcmkGqEW49FpQ0KKXjIAa7dbihn33HSKJh-Z7EyHMLdMlk-k71mWZFJ_wjbzY", "has_more": true}
      >>> {"cursor":"AAE7WqHRPGfpkYDfpmNv9eFrDHK22RuktQCvQU7QdotyU5dFr4p1F9114G_T6S7VLeFpXK1KRZ1WPiy0FWGjC6LnCeOgOkKLr6dhZJYLw42kDGzbNYy5GAyArF4rRTNaykokwNDXvCr6w7HFvV25JOZTGTpHcmkGqEW49FpQ0KKXjIAa7dbihn33HSKJh-Z7EyHMLdMlk-k71mWZFJ_wjbzY"}
      <<< {"entries": [{".tag": "folder", "name": "2020-02-03-13-58-30 af2d9bf4-6dad-445d-a854-9efe17c8b69f", "path_lower": "/test/2020-02-03-13-58-30 af2d9bf4-6dad-445d-a854-9efe17c8b69f", "path_display": "/test/2020-02-03-13-58-30 af2d9bf4-6dad-445d-a854-9efe17c8b69f", "id": "id:UhiqWUVtd8AAAAAAAADevg"}], "cursor": "AAHlUmw4yKxyXWohYfSWAO1Xy9p6CztFJ4pgiponYaEodX1b0V-drgh9ghcbdMensf8h3QlUlAvBSSYtitIS6SSHKAT57IyRhXp0cDv4Blxop0YiL9XS3gllpOXvgdBaiCdBDK4HHK0Zu4Raew5W2LaNmzTnmBwX1WQWK0j5J44lCq8jRDeLA7K9MBhsdgRgRzVe7hgviq2SoGDWdKaFpUCw", "has_more": true}
      >>> {"cursor":"AAHlUmw4yKxyXWohYfSWAO1Xy9p6CztFJ4pgiponYaEodX1b0V-drgh9ghcbdMensf8h3QlUlAvBSSYtitIS6SSHKAT57IyRhXp0cDv4Blxop0YiL9XS3gllpOXvgdBaiCdBDK4HHK0Zu4Raew5W2LaNmzTnmBwX1WQWK0j5J44lCq8jRDeLA7K9MBhsdgRgRzVe7hgviq2SoGDWdKaFpUCw"}
      <<< {"entries": [{".tag": "folder", "name": "2020-11-27-16-21-20 a6e9d1e4-a608-4cec-b314-1379a62be093", "path_lower": "/test/2020-11-27-16-21-20 a6e9d1e4-a608-4cec-b314-1379a62be093", "path_display": "/test/2020-11-27-16-21-20 a6e9d1e4-a608-4cec-b314-1379a62be093", "id": "id:UhiqWUVtd8AAAAAAAAEPMQ"}], "cursor": "AAHX77IND0uXsmiEDSsihFzM-8WlbvAjfWRnjYlp7_AcwHb9lrmb3LJzIyB294rxJpaoYytsrkjF6XApgKqpe4CRpBLx-Ugh4HMJlSOEi6BuB2e0NSRihdlY-RMdKsIfLUPGnYma5XBKaEElaKEgvmnWwhIOWQbayG09_YV7y8OX1J6wXcO0bA__4HlXcU-YZcPX314DM1h__f5TED6XW-O2", "has_more": true}
      >>> {"cursor":"AAHX77IND0uXsmiEDSsihFzM-8WlbvAjfWRnjYlp7_AcwHb9lrmb3LJzIyB294rxJpaoYytsrkjF6XApgKqpe4CRpBLx-Ugh4HMJlSOEi6BuB2e0NSRihdlY-RMdKsIfLUPGnYma5XBKaEElaKEgvmnWwhIOWQbayG09_YV7y8OX1J6wXcO0bA__4HlXcU-YZcPX314DM1h__f5TED6XW-O2"}
      <<< {"entries": [{".tag": "folder", "name": "2020-12-16-10-22-43 f48f5d15-1bb1-477a-b7d1-05d0c89bc365", "path_lower": "/test/2020-12-16-10-22-43 f48f5d15-1bb1-477a-b7d1-05d0c89bc365", "path_display": "/test/2020-12-16-10-22-43 f48f5d15-1bb1-477a-b7d1-05d0c89bc365", "id": "id:UhiqWUVtd8AAAAAAAAEUpA"}], "cursor": "AAErEA91qSXw7BidaVIh4yzaxBOX1-ScB-r_s4mdaKme1FCtpNf3k6xgwYH_IdH42AMI-DDmgxGujEQrqVvyMeLv-R3sJU_-LxULiPfbI0LpMk1rmvpQp0Vx3rdvmh5eOvk4_Ghlw7pGPlTTHc-N1zQWm9il1DecdXXaguBJBwVlviJwqvapkCE401xq8qvymtVLGt49yqqXQjifPXGG0Maj", "has_more": true}
      >>> {"cursor":"AAErEA91qSXw7BidaVIh4yzaxBOX1-ScB-r_s4mdaKme1FCtpNf3k6xgwYH_IdH42AMI-DDmgxGujEQrqVvyMeLv-R3sJU_-LxULiPfbI0LpMk1rmvpQp0Vx3rdvmh5eOvk4_Ghlw7pGPlTTHc-N1zQWm9il1DecdXXaguBJBwVlviJwqvapkCE401xq8qvymtVLGt49yqqXQjifPXGG0Maj"}
      <<< {"entries": [{".tag": "folder", "name": "2021-06-16-16-11-26 a6dd8ac9-c658-4870-8a78-2cdf734e8e14", "path_lower": "/test/2021-06-16-16-11-26 a6dd8ac9-c658-4870-8a78-2cdf734e8e14", "path_display": "/test/2021-06-16-16-11-26 a6dd8ac9-c658-4870-8a78-2cdf734e8e14", "id": "id:UhiqWUVtd8AAAAAAAAEu0g"}], "cursor": "AAHHHCbjbXLDFD4Sj2CGqcSnrv33nXUBVS2yxTFJxSV_PA9fUDOjrMaE6-hmO9NzkvLNcHBwTT1CZ9Niq3pioGERCOnZ7JKvYvBE0OLLSCBDoQRJuZ06hiKGT0EmuHuX7FS3UJywDDtAFKzub7dIRyoTZp5E9yMmpL87WtafJrI8kGlau3-_sTkBGB5UUhQoOKD5hm_0zoJmci7HRPaJWn12", "has_more": true}
      >>> {"cursor":"AAHHHCbjbXLDFD4Sj2CGqcSnrv33nXUBVS2yxTFJxSV_PA9fUDOjrMaE6-hmO9NzkvLNcHBwTT1CZ9Niq3pioGERCOnZ7JKvYvBE0OLLSCBDoQRJuZ06hiKGT0EmuHuX7FS3UJywDDtAFKzub7dIRyoTZp5E9yMmpL87WtafJrI8kGlau3-_sTkBGB5UUhQoOKD5hm_0zoJmci7HRPaJWn12"}
      <<< {"entries": [{".tag": "folder", "name": "2021-09-21-12-29-02 87ed725c-e11f-4d24-a0c4-cd2b3b0ecba2", "path_lower": "/test/2021-09-21-12-29-02 87ed725c-e11f-4d24-a0c4-cd2b3b0ecba2", "path_display": "/test/2021-09-21-12-29-02 87ed725c-e11f-4d24-a0c4-cd2b3b0ecba2", "id": "id:UhiqWUVtd8AAAAAAAAFDLA"}, {".tag": "folder", "name": "2021-09-21-12-29-06 1eafae9b-83b7-44f9-a9ab-d35c647528ed", "path_lower": "/test/2021-09-21-12-29-06 1eafae9b-83b7-44f9-a9ab-d35c647528ed", "path_display": "/test/2021-09-21-12-29-06 1eafae9b-83b7-44f9-a9ab-d35c647528ed", "id": "id:UhiqWUVtd8AAAAAAAAFDLw"}, {".tag": "folder", "name": "2021-09-21-12-29-09 0b4c29e8-0762-49ea-af45-07e79d4c8457", "path_lower": "/test/2021-09-21-12-29-09 0b4c29e8-0762-49ea-af45-07e79d4c8457", "path_display": "/test/2021-09-21-12-29-09 0b4c29e8-0762-49ea-af45-07e79d4c8457", "id": "id:UhiqWUVtd8AAAAAAAAFDMg"}, {".tag": "folder", "name": "2021-09-21-13-22-16 5a854555-1c85-4ed0-9224-831c78bd8d7f", "path_lower": "/test/2021-09-21-13-22-16 5a854555-1c85-4ed0-9224-831c78bd8d7f", "path_display": "/test/2021-09-21-13-22-16 5a854555-1c85-4ed0-9224-831c78bd8d7f", "id": "id:UhiqWUVtd8AAAAAAAAFDRw"}, {".tag": "folder", "name": "2021-09-21-13-22-20 b97cddce-990d-4ad1-81d5-cb3f44e244d4", "path_lower": "/test/2021-09-21-13-22-20 b97cddce-990d-4ad1-81d5-cb3f44e244d4", "path_display": "/test/2021-09-21-13-22-20 b97cddce-990d-4ad1-81d5-cb3f44e244d4", "id": "id:UhiqWUVtd8AAAAAAAAFDSg"}, {".tag": "folder", "name": "2021-09-21-13-22-23 810cd01a-9f82-4d74-b829-f63c951a3fa5", "path_lower": "/test/2021-09-21-13-22-23 810cd01a-9f82-4d74-b829-f63c951a3fa5", "path_display": "/test/2021-09-21-13-22-23 810cd01a-9f82-4d74-b829-f63c951a3fa5", "id": "id:UhiqWUVtd8AAAAAAAAFDTQ"}, {".tag": "folder", "name": "2021-09-21-13-42-38 4c6c4930-7680-4b2b-bf9c-745761bd5c08", "path_lower": "/test/2021-09-21-13-42-38 4c6c4930-7680-4b2b-bf9c-745761bd5c08", "path_display": "/test/2021-09-21-13-42-38 4c6c4930-7680-4b2b-bf9c-745761bd5c08", "id": "id:UhiqWUVtd8AAAAAAAAFDWQ"}, {".tag": "folder", "name": "2021-09-21-13-42-42 3e748a6d-891f-4e33-8155-59ff988796e7", "path_lower": "/test/2021-09-21-13-42-42 3e748a6d-891f-4e33-8155-59ff988796e7", "path_display": "/test/2021-09-21-13-42-42 3e748a6d-891f-4e33-8155-59ff988796e7", "id": "id:UhiqWUVtd8AAAAAAAAFDXA"}, {".tag": "folder", "name": "2021-09-21-13-42-46 db0f3883-b0ab-4682-8764-4b580f7c4175", "path_lower": "/test/2021-09-21-13-42-46 db0f3883-b0ab-4682-8764-4b580f7c4175", "path_display": "/test/2021-09-21-13-42-46 db0f3883-b0ab-4682-8764-4b580f7c4175", "id": "id:UhiqWUVtd8AAAAAAAAFDXw"}, {".tag": "folder", "name": "2021-09-21-14-33-12 43263c62-2810-492e-a694-34bf49b6e2dc", "path_lower": "/test/2021-09-21-14-33-12 43263c62-2810-492e-a694-34bf49b6e2dc", "path_display": "/test/2021-09-21-14-33-12 43263c62-2810-492e-a694-34bf49b6e2dc", "id": "id:UhiqWUVtd8AAAAAAAAFDaw"}, {".tag": "folder", "name": "2021-09-21-14-33-15 f623be07-3757-48ca-90a8-2a70a87d64e9", "path_lower": "/test/2021-09-21-14-33-15 f623be07-3757-48ca-90a8-2a70a87d64e9", "path_display": "/test/2021-09-21-14-33-15 f623be07-3757-48ca-90a8-2a70a87d64e9", "id": "id:UhiqWUVtd8AAAAAAAAFDbg"}, {".tag": "folder", "name": "2021-09-21-14-33-18 60be1a6c-95ce-4daf-af49-e2263d38801a", "path_lower": "/test/2021-09-21-14-33-18 60be1a6c-95ce-4daf-af49-e2263d38801a", "path_display": "/test/2021-09-21-14-33-18 60be1a6c-95ce-4daf-af49-e2263d38801a", "id": "id:UhiqWUVtd8AAAAAAAAFDcQ"}, {".tag": "folder", "name": "2021-09-21-19-02-48 d7ef20ec-3cc8-40ca-b7cc-9833d5d2359a", "path_lower": "/test/2021-09-21-19-02-48 d7ef20ec-3cc8-40ca-b7cc-9833d5d2359a", "path_display": "/test/2021-09-21-19-02-48 d7ef20ec-3cc8-40ca-b7cc-9833d5d2359a", "id": "id:UhiqWUVtd8AAAAAAAAFDfQ"}, {".tag": "folder", "name": "2021-09-21-19-02-52 a78f1614-b6b6-4b20-a220-b349e6c213bb", "path_lower": "/test/2021-09-21-19-02-52 a78f1614-b6b6-4b20-a220-b349e6c213bb", "path_display": "/test/2021-09-21-19-02-52 a78f1614-b6b6-4b20-a220-b349e6c213bb", "id": "id:UhiqWUVtd8AAAAAAAAFDgA"}, {".tag": "folder", "name": "2021-09-21-19-02-56 36f41e7a-0494-4aed-b285-564be2958893", "path_lower": "/test/2021-09-21-19-02-56 36f41e7a-0494-4aed-b285-564be2958893", "path_display": "/test/2021-09-21-19-02-56 36f41e7a-0494-4aed-b285-564be2958893", "id": "id:UhiqWUVtd8AAAAAAAAFDgw"}, {".tag": "folder", "name": "2021-09-21-19-23-57 85eeb4d9-8e3e-4fdd-906f-466667065914", "path_lower": "/test/2021-09-21-19-23-57 85eeb4d9-8e3e-4fdd-906f-466667065914", "path_display": "/test/2021-09-21-19-23-57 85eeb4d9-8e3e-4fdd-906f-466667065914", "id": "id:UhiqWUVtd8AAAAAAAAFDhg"}, {".tag": "folder", "name": "2021-09-21-19-24-01 36775e16-4f34-453f-ad95-dd8074f9b5a6", "path_lower": "/test/2021-09-21-19-24-01 36775e16-4f34-453f-ad95-dd8074f9b5a6", "path_display": "/test/2021-09-21-19-24-01 36775e16-4f34-453f-ad95-dd8074f9b5a6", "id": "id:UhiqWUVtd8AAAAAAAAFDiQ"}, {".tag": "folder", "name": "2021-09-21-19-24-04 de4d2569-c34c-4bb2-ac80-d569a4d63e69", "path_lower": "/test/2021-09-21-19-24-04 de4d2569-c34c-4bb2-ac80-d569a4d63e69", "path_display": "/test/2021-09-21-19-24-04 de4d2569-c34c-4bb2-ac80-d569a4d63e69", "id": "id:UhiqWUVtd8AAAAAAAAFDjA"}], "cursor": "AAGLgICw6udJnJzwIWWABlHnoUfx20pa5ekUqXjBX8-ZUgzUpvHx_Y3BkyEJgv4zRi-ydaGsCmrWDnhW-HTopwm0R6AdLPA2NO7xhXl1GGSBFlUwJuTvPWaK9bQwm2wUbxWlZ8mUnmOtrqWBmOph4t2_6crLVMp0M2tljPw4lfV-l_TKkWAT2auZTMsKZQz9oPMS0fMgkoeD0BxxowXZiBxT", "has_more": true}
      >>> {"cursor":"AAGLgICw6udJnJzwIWWABlHnoUfx20pa5ekUqXjBX8-ZUgzUpvHx_Y3BkyEJgv4zRi-ydaGsCmrWDnhW-HTopwm0R6AdLPA2NO7xhXl1GGSBFlUwJuTvPWaK9bQwm2wUbxWlZ8mUnmOtrqWBmOph4t2_6crLVMp0M2tljPw4lfV-l_TKkWAT2auZTMsKZQz9oPMS0fMgkoeD0BxxowXZiBxT"}
      <<< {"entries": [{".tag": "folder", "name": "2022-06-24-12-17-18 420c25d5-daf2-4a45-8f88-7f2d976e7d38", "path_lower": "/test/2022-06-24-12-17-18 420c25d5-daf2-4a45-8f88-7f2d976e7d38", "path_display": "/test/2022-06-24-12-17-18 420c25d5-daf2-4a45-8f88-7f2d976e7d38", "id": "id:UhiqWUVtd8AAAAAAAAGASw"}], "cursor": "AAHoWvarH9FT_qP13kbls8N5JivveaKpXsgy1iiUHE7uCU-TbQ4kzAsBuSfxJiFwWUgrcrzqO6JdsgP37xHFcjOSK6BCXzVKwA_yCrJNdbBLdyqqMxA3CWdafVXWw2Y9cHynZIqtE8px6Ac9H7n5SyTlkSTbCcoXXBGSkXVOHaea5qhMuuTIDxZH569xBE8pGb4cby3ivEBWaeAg4twjzOF6", "has_more": true}
      >>> {"cursor":"AAHoWvarH9FT_qP13kbls8N5JivveaKpXsgy1iiUHE7uCU-TbQ4kzAsBuSfxJiFwWUgrcrzqO6JdsgP37xHFcjOSK6BCXzVKwA_yCrJNdbBLdyqqMxA3CWdafVXWw2Y9cHynZIqtE8px6Ac9H7n5SyTlkSTbCcoXXBGSkXVOHaea5qhMuuTIDxZH569xBE8pGb4cby3ivEBWaeAg4twjzOF6"}
      <<< {"entries": [{".tag": "folder", "name": "2022-07-26-11-34-55 b7c35f26-eaf5-42a8-ad84-5e462048214e", "path_lower": "/test/2022-07-26-11-34-55 b7c35f26-eaf5-42a8-ad84-5e462048214e", "path_display": "/test/2022-07-26-11-34-55 b7c35f26-eaf5-42a8-ad84-5e462048214e", "id": "id:UhiqWUVtd8AAAAAAAAGE4w"}], "cursor": "AAH6cM0CbGdhehjSQCPNuv6x75v2of3OyPajqpkVugM-KPimUuGTLi0T7x1Y4WMymHEHbUPlI0byL0pD6_aelAtKeuMjyfdCrMnLR8a_Pju_8sddYXORbiFg3cWv5-u8rusPgC40M4ITNb5iWi4xX6q-mVWDVUVxzQkXLsCADb9Tb6zEl6rSlOqFPBkPLNC58nLQj2RX6Ng_W5Ds8ubCdBpF", "has_more": true}
      >>> {"cursor":"AAH6cM0CbGdhehjSQCPNuv6x75v2of3OyPajqpkVugM-KPimUuGTLi0T7x1Y4WMymHEHbUPlI0byL0pD6_aelAtKeuMjyfdCrMnLR8a_Pju_8sddYXORbiFg3cWv5-u8rusPgC40M4ITNb5iWi4xX6q-mVWDVUVxzQkXLsCADb9Tb6zEl6rSlOqFPBkPLNC58nLQj2RX6Ng_W5Ds8ubCdBpF"}
      <<< {"entries": [{".tag": "folder", "name": "2022-08-10-13-47-42 0da6e085-8c11-4a29-8f02-320c05fe1eae", "path_lower": "/test/2022-08-10-13-47-42 0da6e085-8c11-4a29-8f02-320c05fe1eae", "path_display": "/test/2022-08-10-13-47-42 0da6e085-8c11-4a29-8f02-320c05fe1eae", "id": "id:UhiqWUVtd8AAAAAAAAGJyQ"}], "cursor": "AAH9MgA2ojI18LszK_qJwLj7uioy0wWHMrcrP9y1FVuCIB0-PbHRz-Wt9c0Ob6odEMNi2VjvK-MNTA5AMR7JmCdrcn7w3i9R5rgLt8_q6xmyKXcqGzQQ4Ji4iO_qvetQOfxe_A-D6VLpeome7XOm7CJRYqi58fMDed8SYkZ4uErFL-UnD_3IBV2cDv_6yYW6qgKzvME_w4YVR9GIv8VbJFbC", "has_more": true}
      >>> {"cursor":"AAH9MgA2ojI18LszK_qJwLj7uioy0wWHMrcrP9y1FVuCIB0-PbHRz-Wt9c0Ob6odEMNi2VjvK-MNTA5AMR7JmCdrcn7w3i9R5rgLt8_q6xmyKXcqGzQQ4Ji4iO_qvetQOfxe_A-D6VLpeome7XOm7CJRYqi58fMDed8SYkZ4uErFL-UnD_3IBV2cDv_6yYW6qgKzvME_w4YVR9GIv8VbJFbC"}
      <<< {"entries": [{".tag": "folder", "name": "2022-10-18-08-46-44 46259cc9-6545-449c-a384-8821f242931f", "path_lower": "/test/2022-10-18-08-46-44 46259cc9-6545-449c-a384-8821f242931f", "path_display": "/test/2022-10-18-08-46-44 46259cc9-6545-449c-a384-8821f242931f", "id": "id:UhiqWUVtd8AAAAAAAAGUrg"}], "cursor": "AAFBmUjadYQc_MnNTAzvMeFv8GUlr89gNHon5bdD11R_JsJWiZ0vDxirAbkfbVD7rlny70AEO73TEjjtJjA5Bc1mfNY_jWTLRCfxY9dC5nSOnUEpm-aTiXUP30tQ3Ph3slcbNl_keplRCV03N0cdSPsWqTND-ZSpv-87iJgj0WCA3sHpLk1tpNNGCeO0HJLq1MJ594t9tDfS6aWJo3z3l-MD", "has_more": true}
      >>> {"cursor":"AAFBmUjadYQc_MnNTAzvMeFv8GUlr89gNHon5bdD11R_JsJWiZ0vDxirAbkfbVD7rlny70AEO73TEjjtJjA5Bc1mfNY_jWTLRCfxY9dC5nSOnUEpm-aTiXUP30tQ3Ph3slcbNl_keplRCV03N0cdSPsWqTND-ZSpv-87iJgj0WCA3sHpLk1tpNNGCeO0HJLq1MJ594t9tDfS6aWJo3z3l-MD"}
      <<< {"entries": [{".tag": "folder", "name": "2022-11-23-15-06-43 50e360cb-de7b-4627-9b44-7340158ce79d", "path_lower": "/test/2022-11-23-15-06-43 50e360cb-de7b-4627-9b44-7340158ce79d", "path_display": "/test/2022-11-23-15-06-43 50e360cb-de7b-4627-9b44-7340158ce79d", "id": "id:UhiqWUVtd8AAAAAAAAGf7g"}, {".tag": "folder", "name": "2022-11-24-06-52-13 72e1a35c-95fb-400c-a5b5-b06072c1c9f0", "path_lower": "/test/2022-11-24-06-52-13 72e1a35c-95fb-400c-a5b5-b06072c1c9f0", "path_display": "/test/2022-11-24-06-52-13 72e1a35c-95fb-400c-a5b5-b06072c1c9f0", "id": "id:UhiqWUVtd8AAAAAAAAGgHg"}, {".tag": "folder", "name": "2022-11-24-06-52-19 7697380a-fb06-4712-aa07-73e47c705380", "path_lower": "/test/2022-11-24-06-52-19 7697380a-fb06-4712-aa07-73e47c705380", "path_display": "/test/2022-11-24-06-52-19 7697380a-fb06-4712-aa07-73e47c705380", "id": "id:UhiqWUVtd8AAAAAAAAGgIQ"}, {".tag": "folder", "name": "2022-11-24-06-52-23 b745bbcc-f6d8-4355-9112-b024e079b197", "path_lower": "/test/2022-11-24-06-52-23 b745bbcc-f6d8-4355-9112-b024e079b197", "path_display": "/test/2022-11-24-06-52-23 b745bbcc-f6d8-4355-9112-b024e079b197", "id": "id:UhiqWUVtd8AAAAAAAAGgJA"}, {".tag": "folder", "name": "2022-11-24-07-54-41 63c7f270-cbc3-4019-83cc-08eff2e345ab", "path_lower": "/test/2022-11-24-07-54-41 63c7f270-cbc3-4019-83cc-08eff2e345ab", "path_display": "/test/2022-11-24-07-54-41 63c7f270-cbc3-4019-83cc-08eff2e345ab", "id": "id:UhiqWUVtd8AAAAAAAAGgJw"}, {".tag": "folder", "name": "2022-11-24-07-54-46 273e14b5-b49f-4cd7-8cc6-1d6b7907ee1f", "path_lower": "/test/2022-11-24-07-54-46 273e14b5-b49f-4cd7-8cc6-1d6b7907ee1f", "path_display": "/test/2022-11-24-07-54-46 273e14b5-b49f-4cd7-8cc6-1d6b7907ee1f", "id": "id:UhiqWUVtd8AAAAAAAAGgKg"}, {".tag": "folder", "name": "2022-11-24-07-54-51 7ad21d6a-5032-4e13-9749-4b093e356862", "path_lower": "/test/2022-11-24-07-54-51 7ad21d6a-5032-4e13-9749-4b093e356862", "path_display": "/test/2022-11-24-07-54-51 7ad21d6a-5032-4e13-9749-4b093e356862", "id": "id:UhiqWUVtd8AAAAAAAAGgLQ"}, {".tag": "folder", "name": "2022-11-24-07-50-15 59b51ef1-1fec-4eb4-bf5f-f8b264dcb7f9", "path_lower": "/test/2022-11-24-07-50-15 59b51ef1-1fec-4eb4-bf5f-f8b264dcb7f9", "path_display": "/test/2022-11-24-07-50-15 59b51ef1-1fec-4eb4-bf5f-f8b264dcb7f9", "id": "id:UhiqWUVtd8AAAAAAAAGgMA"}, {".tag": "folder", "name": "2022-11-24-07-50-21 58d279d9-1c4d-44fe-a79e-4b84f18eb5cf", "path_lower": "/test/2022-11-24-07-50-21 58d279d9-1c4d-44fe-a79e-4b84f18eb5cf", "path_display": "/test/2022-11-24-07-50-21 58d279d9-1c4d-44fe-a79e-4b84f18eb5cf", "id": "id:UhiqWUVtd8AAAAAAAAGgMw"}, {".tag": "folder", "name": "2022-11-24-07-50-25 8429b977-7f36-48c4-88fa-e5decd10b446", "path_lower": "/test/2022-11-24-07-50-25 8429b977-7f36-48c4-88fa-e5decd10b446", "path_display": "/test/2022-11-24-07-50-25 8429b977-7f36-48c4-88fa-e5decd10b446", "id": "id:UhiqWUVtd8AAAAAAAAGgNg"}, {".tag": "folder", "name": "2022-11-24-08-52-50 dfafbc47-322e-4a5b-9eff-668ac398478a", "path_lower": "/test/2022-11-24-08-52-50 dfafbc47-322e-4a5b-9eff-668ac398478a", "path_display": "/test/2022-11-24-08-52-50 dfafbc47-322e-4a5b-9eff-668ac398478a", "id": "id:UhiqWUVtd8AAAAAAAAGgOQ"}, {".tag": "folder", "name": "2022-11-24-08-52-56 eef91d53-2cbb-4bed-bc21-ce5000196dd9", "path_lower": "/test/2022-11-24-08-52-56 eef91d53-2cbb-4bed-bc21-ce5000196dd9", "path_display": "/test/2022-11-24-08-52-56 eef91d53-2cbb-4bed-bc21-ce5000196dd9", "id": "id:UhiqWUVtd8AAAAAAAAGgPA"}, {".tag": "folder", "name": "2022-11-24-08-53-00 92c84afa-649c-4269-9bb6-0a47874b5bb1", "path_lower": "/test/2022-11-24-08-53-00 92c84afa-649c-4269-9bb6-0a47874b5bb1", "path_display": "/test/2022-11-24-08-53-00 92c84afa-649c-4269-9bb6-0a47874b5bb1", "id": "id:UhiqWUVtd8AAAAAAAAGgPw"}, {".tag": "folder", "name": "2022-11-24-08-31-15 4cdea28c-b273-4c31-9388-5e5c95437129", "path_lower": "/test/2022-11-24-08-31-15 4cdea28c-b273-4c31-9388-5e5c95437129", "path_display": "/test/2022-11-24-08-31-15 4cdea28c-b273-4c31-9388-5e5c95437129", "id": "id:UhiqWUVtd8AAAAAAAAGgQg"}, {".tag": "folder", "name": "2022-11-24-08-31-22 f94df1ff-c6d5-40d1-a208-30d88b83cd05", "path_lower": "/test/2022-11-24-08-31-22 f94df1ff-c6d5-40d1-a208-30d88b83cd05", "path_display": "/test/2022-11-24-08-31-22 f94df1ff-c6d5-40d1-a208-30d88b83cd05", "id": "id:UhiqWUVtd8AAAAAAAAGgRQ"}, {".tag": "folder", "name": "2022-11-24-08-31-26 169f1de0-27ca-4cfa-9f22-15433be6a006", "path_lower": "/test/2022-11-24-08-31-26 169f1de0-27ca-4cfa-9f22-15433be6a006", "path_display": "/test/2022-11-24-08-31-26 169f1de0-27ca-4cfa-9f22-15433be6a006", "id": "id:UhiqWUVtd8AAAAAAAAGgSA"}, {".tag": "folder", "name": "2022-11-24-09-34-21 fd5345e3-2064-4429-b8cd-ef4506d09c94", "path_lower": "/test/2022-11-24-09-34-21 fd5345e3-2064-4429-b8cd-ef4506d09c94", "path_display": "/test/2022-11-24-09-34-21 fd5345e3-2064-4429-b8cd-ef4506d09c94", "id": "id:UhiqWUVtd8AAAAAAAAGgSw"}, {".tag": "folder", "name": "2022-11-24-09-34-27 0caf0151-9c46-4527-8dd1-1c11fe9e862d", "path_lower": "/test/2022-11-24-09-34-27 0caf0151-9c46-4527-8dd1-1c11fe9e862d", "path_display": "/test/2022-11-24-09-34-27 0caf0151-9c46-4527-8dd1-1c11fe9e862d", "id": "id:UhiqWUVtd8AAAAAAAAGgTg"}, {".tag": "folder", "name": "2022-11-24-08-34-29 00761549-4fe0-4762-9ffe-2ee88c28b363", "path_lower": "/test/2022-11-24-08-34-29 00761549-4fe0-4762-9ffe-2ee88c28b363", "path_display": "/test/2022-11-24-08-34-29 00761549-4fe0-4762-9ffe-2ee88c28b363", "id": "id:UhiqWUVtd8AAAAAAAAGgUQ"}, {".tag": "folder", "name": "2022-11-24-09-34-32 b21f6bc7-0435-4742-8411-568c783c1e51", "path_lower": "/test/2022-11-24-09-34-32 b21f6bc7-0435-4742-8411-568c783c1e51", "path_display": "/test/2022-11-24-09-34-32 b21f6bc7-0435-4742-8411-568c783c1e51", "id": "id:UhiqWUVtd8AAAAAAAAGgVA"}, {".tag": "folder", "name": "2022-11-24-08-34-35 04fa72a5-afbe-4382-9e40-0207bdbfdb87", "path_lower": "/test/2022-11-24-08-34-35 04fa72a5-afbe-4382-9e40-0207bdbfdb87", "path_display": "/test/2022-11-24-08-34-35 04fa72a5-afbe-4382-9e40-0207bdbfdb87", "id": "id:UhiqWUVtd8AAAAAAAAGgVw"}, {".tag": "folder", "name": "2022-11-24-08-34-40 b7774750-97f3-41ac-92b7-7631a7910e36", "path_lower": "/test/2022-11-24-08-34-40 b7774750-97f3-41ac-92b7-7631a7910e36", "path_display": "/test/2022-11-24-08-34-40 b7774750-97f3-41ac-92b7-7631a7910e36", "id": "id:UhiqWUVtd8AAAAAAAAGgWg"}, {".tag": "folder", "name": "2022-11-24-09-37-29 e3e2b6ea-2638-4698-8588-c19ba27e6ede", "path_lower": "/test/2022-11-24-09-37-29 e3e2b6ea-2638-4698-8588-c19ba27e6ede", "path_display": "/test/2022-11-24-09-37-29 e3e2b6ea-2638-4698-8588-c19ba27e6ede", "id": "id:UhiqWUVtd8AAAAAAAAGgXQ"}, {".tag": "folder", "name": "2022-11-24-09-37-35 33a1bfbc-3509-4a8d-9e91-4c2e81fd2df9", "path_lower": "/test/2022-11-24-09-37-35 33a1bfbc-3509-4a8d-9e91-4c2e81fd2df9", "path_display": "/test/2022-11-24-09-37-35 33a1bfbc-3509-4a8d-9e91-4c2e81fd2df9", "id": "id:UhiqWUVtd8AAAAAAAAGgYA"}, {".tag": "folder", "name": "2022-11-24-09-37-41 702d31da-2ea4-4a21-b02f-e119b3a9775d", "path_lower": "/test/2022-11-24-09-37-41 702d31da-2ea4-4a21-b02f-e119b3a9775d", "path_display": "/test/2022-11-24-09-37-41 702d31da-2ea4-4a21-b02f-e119b3a9775d", "id": "id:UhiqWUVtd8AAAAAAAAGgYw"}], "cursor": "AAG9jrTYfuJ5CKtZcDNgry8RyrCy85fdtD0JBZYLaiKKFD1agJgXHwAyayh0Se0zVIuYYQr95YmmZIvGj9GgH0tZ6VoKhewfzz1fObQ3wKw8ww-ujZqXtSSEPiwA2HepQUbZC22QsWVSW2DbzBDYEtDuudcs26H-BGZlaOMD7xMU11KqT_fwxaWLy5JtcDt3PQ7j7nJ5IYqjuoGig7p_ujZl", "has_more": true}
      >>> {"cursor":"AAG9jrTYfuJ5CKtZcDNgry8RyrCy85fdtD0JBZYLaiKKFD1agJgXHwAyayh0Se0zVIuYYQr95YmmZIvGj9GgH0tZ6VoKhewfzz1fObQ3wKw8ww-ujZqXtSSEPiwA2HepQUbZC22QsWVSW2DbzBDYEtDuudcs26H-BGZlaOMD7xMU11KqT_fwxaWLy5JtcDt3PQ7j7nJ5IYqjuoGig7p_ujZl"}
      <<< {"entries": [{".tag": "folder", "name": "2022-11-24-12-44-37 3a200d78-2539-4e4f-b275-fa7b187d8caf", "path_lower": "/test/2022-11-24-12-44-37 3a200d78-2539-4e4f-b275-fa7b187d8caf", "path_display": "/test/2022-11-24-12-44-37 3a200d78-2539-4e4f-b275-fa7b187d8caf", "id": "id:UhiqWUVtd8AAAAAAAAGgig"}, {".tag": "folder", "name": "2022-11-25-12-30-24 f12fc5f4-1dc3-4092-b7d1-f727cb4388c9", "path_lower": "/test/2022-11-25-12-30-24 f12fc5f4-1dc3-4092-b7d1-f727cb4388c9", "path_display": "/test/2022-11-25-12-30-24 f12fc5f4-1dc3-4092-b7d1-f727cb4388c9", "id": "id:UhiqWUVtd8AAAAAAAAGhbg"}, {".tag": "folder", "name": "2022-11-25-12-31-00 1e50f1c0-9d69-4440-8749-8290229828fc", "path_lower": "/test/2022-11-25-12-31-00 1e50f1c0-9d69-4440-8749-8290229828fc", "path_display": "/test/2022-11-25-12-31-00 1e50f1c0-9d69-4440-8749-8290229828fc", "id": "id:UhiqWUVtd8AAAAAAAAGhcQ"}, {".tag": "folder", "name": "2022-11-25-13-38-51 b78eff5d-7d47-492e-bfaf-a3fbe0eed3bc", "path_lower": "/test/2022-11-25-13-38-51 b78eff5d-7d47-492e-bfaf-a3fbe0eed3bc", "path_display": "/test/2022-11-25-13-38-51 b78eff5d-7d47-492e-bfaf-a3fbe0eed3bc", "id": "id:UhiqWUVtd8AAAAAAAAGhjw"}, {".tag": "folder", "name": "2022-11-25-13-41-12 2eb0b283-c81f-49d6-bd50-71bb580b1911", "path_lower": "/test/2022-11-25-13-41-12 2eb0b283-c81f-49d6-bd50-71bb580b1911", "path_display": "/test/2022-11-25-13-41-12 2eb0b283-c81f-49d6-bd50-71bb580b1911", "id": "id:UhiqWUVtd8AAAAAAAAGhkg"}, {".tag": "folder", "name": "2022-11-25-13-41-52 c4499a62-1768-4954-80b1-de891794a20f", "path_lower": "/test/2022-11-25-13-41-52 c4499a62-1768-4954-80b1-de891794a20f", "path_display": "/test/2022-11-25-13-41-52 c4499a62-1768-4954-80b1-de891794a20f", "id": "id:UhiqWUVtd8AAAAAAAAGhlQ"}, {".tag": "folder", "name": "2022-11-25-13-42-56 c7d913b1-496b-4072-8cc4-1c2f2e3bdb05", "path_lower": "/test/2022-11-25-13-42-56 c7d913b1-496b-4072-8cc4-1c2f2e3bdb05", "path_display": "/test/2022-11-25-13-42-56 c7d913b1-496b-4072-8cc4-1c2f2e3bdb05", "id": "id:UhiqWUVtd8AAAAAAAAGhmA"}], "cursor": "AAGmaZLashey-WU8HQ9czOJastcCmM45E3KvS3SXWKgGyuhgqBTjpY-HHnolyg_PE5EufvkzIgC4SKizXMROY62nslhMN-lTsKLQTS7gMyE8NAktJsGTLNZYfxyoAXuFwbrgWUBWnq_mWDkEoomejSgTN_YlBWr9C4N_v7_y2CuXmcv35rcJkzQBx5JnhS67KHpSrFziqLXv_h2ieZbKhoR3", "has_more": true}
      >>> {"cursor":"AAGmaZLashey-WU8HQ9czOJastcCmM45E3KvS3SXWKgGyuhgqBTjpY-HHnolyg_PE5EufvkzIgC4SKizXMROY62nslhMN-lTsKLQTS7gMyE8NAktJsGTLNZYfxyoAXuFwbrgWUBWnq_mWDkEoomejSgTN_YlBWr9C4N_v7_y2CuXmcv35rcJkzQBx5JnhS67KHpSrFziqLXv_h2ieZbKhoR3"}
      <<< Error in call to API function "files/list_folder/continue": Error while authenticating request
      
      Unhandled Exception: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: E. Path '', line 0, position 0.
         at Newtonsoft.Json.JsonTextReader.ParseValue()
         at Newtonsoft.Json.JsonTextReader.Read()
         at Dropbox.Api.Stone.JsonReader.Read[T](String json, IDecoder`1 decoder)
         at Dropbox.Api.StructuredException`1.Decode[TException](String json, IDecoder`1 errorDecoder, Func`1 exceptionFunc)
         at Dropbox.Api.DropboxRequestHandler.<RequestJsonString>d__20.MoveNext()

       

       

      As you can see I have managed to dump requests and responses from the traffic and sometimes DropBox API returns:

      Error in call to API function "files/list_folder/continue": Error while authenticating request

       

    • setycz's avatar
      setycz
      Explorer | Level 3

      Hello,

       

      bellow you can find the sample sourcecode:

      using System;
      using System.Collections.Generic;
      using System.Linq;
      using System.Net;
      using System.Net.Http;
      using System.Threading;
      using System.Threading.Tasks;
      using Dropbox.Api;
      using Dropbox.Api.Team;
      
      namespace DropBoxConnectorSample
      {
          internal class Program
          {
              private sealed class CustomWebRequestHandler : WebRequestHandler
              {
                  protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request,
                      CancellationToken cancellationToken)
                  {
                      var requestBody = await request.Content.ReadAsStringAsync();
                      Console.WriteLine(">>> " + requestBody);
      
                      var result = await base.SendAsync(request, cancellationToken);
      
                      var resultBody = await result.Content.ReadAsStringAsync();
                      Console.WriteLine("<<< " + resultBody);
      
                      return result;
                  }
              }
      
              private HttpClient CreateHttpClient()
              {
                  var handler = new CustomWebRequestHandler
                  {
                      ReadWriteTimeout = 10 * 1000
                  };
                  if (handler.SupportsAutomaticDecompression)
                      handler.AutomaticDecompression = DecompressionMethods.Deflate
                                                       | DecompressionMethods.GZip;
      
                  return new HttpClient(handler) { Timeout = TimeSpan.FromHours(24) };
              }
      
              private DropboxTeamClient CreateTeamClientAsync()
              {
                  var httpClient = CreateHttpClient();
                  const int retryCount = 4;
                  return new DropboxTeamClient("YOUR TOKEN",
                      new DropboxClientConfig(null, retryCount) { HttpClient = httpClient });
              }
      
              private async Task<string> FindMemberIdAsync(DropboxTeamClient client)
              {
                  var criterium = new UserSelectorArg.Email("YOUR EMAIL");
                  var memberInfo = await client.Team.MembersGetInfoAsync(new[] { criterium }).ConfigureAwait(false);
                  var id = memberInfo.FirstOrDefault()?.AsMemberInfo?.Value?.Profile?.TeamMemberId;
                  if (id == null) throw new InvalidOperationException("Could not find a dropbox user.");
      
                  return id;
              }
      
              private async Task<DropboxClient> CreateClientAsync()
              {
                  var teamClient = CreateTeamClientAsync();
                  var memberId = await FindMemberIdAsync(teamClient).ConfigureAwait(false);
                  return teamClient.AsMember(memberId);
              }
      
              public async Task<IEnumerable<string>> ListFoldersAsync(string relativePath)
              {
                  var client = await CreateClientAsync().ConfigureAwait(false);
      
                  var folders = await client.Files.ListFolderAsync(relativePath).ConfigureAwait(false);
                  var result = folders.Entries.Where(e => e.IsFolder).Select(e => e.AsFolder.Name).ToList();
                  while (folders.HasMore)
                  {
                      folders = await client.Files.ListFolderContinueAsync(folders.Cursor).ConfigureAwait(false);
                      result.AddRange(folders.Entries.Where(e => e.IsFolder).Select(e => e.AsFolder.Name));
                  }
      
                  return result;
              }
      
              private static async Task Main(string[] args)
              {
                  while (true)
                  {
                      var p = new Program();
                      var result = await p.ListFoldersAsync("/Test");
                      Console.WriteLine("END: " + string.Join(", ", result));
                  }
              }
          }
      }

      As you can see I have managed to dump the actual communication. Here is the log when the error occures:

      >>> {"members":[{".tag":"email","email":"CENSORED"}]}
      <<< [{".tag": "member_info", "profile": "CENSORED", "role": {".tag": "team_admin"}}]
      >>> {"path":"/Test","recursive":false,"include_media_info":false,"include_deleted":false,"include_has_explicit_shared_members":false,"include_mounted_folders":true,"include_non_downloadable_files":true}
      <<< {"entries": [{".tag": "folder", "name": "apa", "path_lower": "/test/apa", "path_display": "/test/apa", "id": "id:UhiqWUVtd8AAAAAAAAAAow"}, {".tag": "folder", "name": "automated", "path_lower": "/test/automated", "path_display": "/test/automated", "id": "id:UhiqWUVtd8AAAAAAAAAAIQ"}, {".tag": "folder", "name": "browsing tests", "path_lower": "/test/browsing tests", "path_display": "/test/browsing tests", "id": "id:UhiqWUVtd8AAAAAAAAAsew"}, {".tag": "folder", "name": "css", "path_lower": "/test/css", "path_display": "/test/css", "id": "id:UhiqWUVtd8AAAAAAAAAAIA"}, {".tag": "folder", "name": "integration", "path_lower": "/test/integration", "path_display": "/test/integration", "id": "id:UhiqWUVtd8AAAAAAAAAAHg"}, {".tag": "folder", "name": "Integration C#", "path_lower": "/test/integration c#", "path_display": "/test/Integration C#", "id": "id:UhiqWUVtd8AAAAAAAAAEZw"}, {".tag": "folder", "name": "mock", "path_lower": "/test/mock", "path_display": "/test/mock", "id": "id:UhiqWUVtd8AAAAAAAAAAHQ"}, {".tag": "folder", "name": "regression", "path_lower": "/test/regression", "path_display": "/test/regression", "id": "id:UhiqWUVtd8AAAAAAAAAAHw"}, {".tag": "file", "name": "final destination.pdf", "path_lower": "/test/final destination.pdf", "path_display": "/test/final destination.pdf", "id": "id:UhiqWUVtd8AAAAAAAAAc7g", "client_modified": "2016-11-29T15:22:17Z", "server_modified": "2017-02-14T09:44:51Z", "rev": "604340e409a1", "size": 808635, "is_downloadable": true, "content_hash": "78e2ad053ee6a7ead2d1afa12d49f5341daa02e744fdd4b0ccf4bbd376e1e646"}], "cursor": "AAE7WqHRPGfpkYDfpmNv9eFrDHK22RuktQCvQU7QdotyU5dFr4p1F9114G_T6S7VLeFpXK1KRZ1WPiy0FWGjC6LnCeOgOkKLr6dhZJYLw42kDGzbNYy5GAyArF4rRTNaykokwNDXvCr6w7HFvV25JOZTGTpHcmkGqEW49FpQ0KKXjIAa7dbihn33HSKJh-Z7EyHMLdMlk-k71mWZFJ_wjbzY", "has_more": true}
      >>> {"cursor":"AAE7WqHRPGfpkYDfpmNv9eFrDHK22RuktQCvQU7QdotyU5dFr4p1F9114G_T6S7VLeFpXK1KRZ1WPiy0FWGjC6LnCeOgOkKLr6dhZJYLw42kDGzbNYy5GAyArF4rRTNaykokwNDXvCr6w7HFvV25JOZTGTpHcmkGqEW49FpQ0KKXjIAa7dbihn33HSKJh-Z7EyHMLdMlk-k71mWZFJ_wjbzY"}
      <<< {"entries": [{".tag": "folder", "name": "2020-02-03-13-58-30 af2d9bf4-6dad-445d-a854-9efe17c8b69f", "path_lower": "/test/2020-02-03-13-58-30 af2d9bf4-6dad-445d-a854-9efe17c8b69f", "path_display": "/test/2020-02-03-13-58-30 af2d9bf4-6dad-445d-a854-9efe17c8b69f", "id": "id:UhiqWUVtd8AAAAAAAADevg"}], "cursor": "AAHlUmw4yKxyXWohYfSWAO1Xy9p6CztFJ4pgiponYaEodX1b0V-drgh9ghcbdMensf8h3QlUlAvBSSYtitIS6SSHKAT57IyRhXp0cDv4Blxop0YiL9XS3gllpOXvgdBaiCdBDK4HHK0Zu4Raew5W2LaNmzTnmBwX1WQWK0j5J44lCq8jRDeLA7K9MBhsdgRgRzVe7hgviq2SoGDWdKaFpUCw", "has_more": true}
      >>> {"cursor":"AAHlUmw4yKxyXWohYfSWAO1Xy9p6CztFJ4pgiponYaEodX1b0V-drgh9ghcbdMensf8h3QlUlAvBSSYtitIS6SSHKAT57IyRhXp0cDv4Blxop0YiL9XS3gllpOXvgdBaiCdBDK4HHK0Zu4Raew5W2LaNmzTnmBwX1WQWK0j5J44lCq8jRDeLA7K9MBhsdgRgRzVe7hgviq2SoGDWdKaFpUCw"}
      <<< {"entries": [{".tag": "folder", "name": "2020-11-27-16-21-20 a6e9d1e4-a608-4cec-b314-1379a62be093", "path_lower": "/test/2020-11-27-16-21-20 a6e9d1e4-a608-4cec-b314-1379a62be093", "path_display": "/test/2020-11-27-16-21-20 a6e9d1e4-a608-4cec-b314-1379a62be093", "id": "id:UhiqWUVtd8AAAAAAAAEPMQ"}], "cursor": "AAHX77IND0uXsmiEDSsihFzM-8WlbvAjfWRnjYlp7_AcwHb9lrmb3LJzIyB294rxJpaoYytsrkjF6XApgKqpe4CRpBLx-Ugh4HMJlSOEi6BuB2e0NSRihdlY-RMdKsIfLUPGnYma5XBKaEElaKEgvmnWwhIOWQbayG09_YV7y8OX1J6wXcO0bA__4HlXcU-YZcPX314DM1h__f5TED6XW-O2", "has_more": true}
      >>> {"cursor":"AAHX77IND0uXsmiEDSsihFzM-8WlbvAjfWRnjYlp7_AcwHb9lrmb3LJzIyB294rxJpaoYytsrkjF6XApgKqpe4CRpBLx-Ugh4HMJlSOEi6BuB2e0NSRihdlY-RMdKsIfLUPGnYma5XBKaEElaKEgvmnWwhIOWQbayG09_YV7y8OX1J6wXcO0bA__4HlXcU-YZcPX314DM1h__f5TED6XW-O2"}
      <<< {"entries": [{".tag": "folder", "name": "2020-12-16-10-22-43 f48f5d15-1bb1-477a-b7d1-05d0c89bc365", "path_lower": "/test/2020-12-16-10-22-43 f48f5d15-1bb1-477a-b7d1-05d0c89bc365", "path_display": "/test/2020-12-16-10-22-43 f48f5d15-1bb1-477a-b7d1-05d0c89bc365", "id": "id:UhiqWUVtd8AAAAAAAAEUpA"}], "cursor": "AAErEA91qSXw7BidaVIh4yzaxBOX1-ScB-r_s4mdaKme1FCtpNf3k6xgwYH_IdH42AMI-DDmgxGujEQrqVvyMeLv-R3sJU_-LxULiPfbI0LpMk1rmvpQp0Vx3rdvmh5eOvk4_Ghlw7pGPlTTHc-N1zQWm9il1DecdXXaguBJBwVlviJwqvapkCE401xq8qvymtVLGt49yqqXQjifPXGG0Maj", "has_more": true}
      >>> {"cursor":"AAErEA91qSXw7BidaVIh4yzaxBOX1-ScB-r_s4mdaKme1FCtpNf3k6xgwYH_IdH42AMI-DDmgxGujEQrqVvyMeLv-R3sJU_-LxULiPfbI0LpMk1rmvpQp0Vx3rdvmh5eOvk4_Ghlw7pGPlTTHc-N1zQWm9il1DecdXXaguBJBwVlviJwqvapkCE401xq8qvymtVLGt49yqqXQjifPXGG0Maj"}
      <<< {"entries": [{".tag": "folder", "name": "2021-06-16-16-11-26 a6dd8ac9-c658-4870-8a78-2cdf734e8e14", "path_lower": "/test/2021-06-16-16-11-26 a6dd8ac9-c658-4870-8a78-2cdf734e8e14", "path_display": "/test/2021-06-16-16-11-26 a6dd8ac9-c658-4870-8a78-2cdf734e8e14", "id": "id:UhiqWUVtd8AAAAAAAAEu0g"}], "cursor": "AAHHHCbjbXLDFD4Sj2CGqcSnrv33nXUBVS2yxTFJxSV_PA9fUDOjrMaE6-hmO9NzkvLNcHBwTT1CZ9Niq3pioGERCOnZ7JKvYvBE0OLLSCBDoQRJuZ06hiKGT0EmuHuX7FS3UJywDDtAFKzub7dIRyoTZp5E9yMmpL87WtafJrI8kGlau3-_sTkBGB5UUhQoOKD5hm_0zoJmci7HRPaJWn12", "has_more": true}
      >>> {"cursor":"AAHHHCbjbXLDFD4Sj2CGqcSnrv33nXUBVS2yxTFJxSV_PA9fUDOjrMaE6-hmO9NzkvLNcHBwTT1CZ9Niq3pioGERCOnZ7JKvYvBE0OLLSCBDoQRJuZ06hiKGT0EmuHuX7FS3UJywDDtAFKzub7dIRyoTZp5E9yMmpL87WtafJrI8kGlau3-_sTkBGB5UUhQoOKD5hm_0zoJmci7HRPaJWn12"}
      <<< {"entries": [{".tag": "folder", "name": "2021-09-21-12-29-02 87ed725c-e11f-4d24-a0c4-cd2b3b0ecba2", "path_lower": "/test/2021-09-21-12-29-02 87ed725c-e11f-4d24-a0c4-cd2b3b0ecba2", "path_display": "/test/2021-09-21-12-29-02 87ed725c-e11f-4d24-a0c4-cd2b3b0ecba2", "id": "id:UhiqWUVtd8AAAAAAAAFDLA"}, {".tag": "folder", "name": "2021-09-21-12-29-06 1eafae9b-83b7-44f9-a9ab-d35c647528ed", "path_lower": "/test/2021-09-21-12-29-06 1eafae9b-83b7-44f9-a9ab-d35c647528ed", "path_display": "/test/2021-09-21-12-29-06 1eafae9b-83b7-44f9-a9ab-d35c647528ed", "id": "id:UhiqWUVtd8AAAAAAAAFDLw"}, {".tag": "folder", "name": "2021-09-21-12-29-09 0b4c29e8-0762-49ea-af45-07e79d4c8457", "path_lower": "/test/2021-09-21-12-29-09 0b4c29e8-0762-49ea-af45-07e79d4c8457", "path_display": "/test/2021-09-21-12-29-09 0b4c29e8-0762-49ea-af45-07e79d4c8457", "id": "id:UhiqWUVtd8AAAAAAAAFDMg"}, {".tag": "folder", "name": "2021-09-21-13-22-16 5a854555-1c85-4ed0-9224-831c78bd8d7f", "path_lower": "/test/2021-09-21-13-22-16 5a854555-1c85-4ed0-9224-831c78bd8d7f", "path_display": "/test/2021-09-21-13-22-16 5a854555-1c85-4ed0-9224-831c78bd8d7f", "id": "id:UhiqWUVtd8AAAAAAAAFDRw"}, {".tag": "folder", "name": "2021-09-21-13-22-20 b97cddce-990d-4ad1-81d5-cb3f44e244d4", "path_lower": "/test/2021-09-21-13-22-20 b97cddce-990d-4ad1-81d5-cb3f44e244d4", "path_display": "/test/2021-09-21-13-22-20 b97cddce-990d-4ad1-81d5-cb3f44e244d4", "id": "id:UhiqWUVtd8AAAAAAAAFDSg"}, {".tag": "folder", "name": "2021-09-21-13-22-23 810cd01a-9f82-4d74-b829-f63c951a3fa5", "path_lower": "/test/2021-09-21-13-22-23 810cd01a-9f82-4d74-b829-f63c951a3fa5", "path_display": "/test/2021-09-21-13-22-23 810cd01a-9f82-4d74-b829-f63c951a3fa5", "id": "id:UhiqWUVtd8AAAAAAAAFDTQ"}, {".tag": "folder", "name": "2021-09-21-13-42-38 4c6c4930-7680-4b2b-bf9c-745761bd5c08", "path_lower": "/test/2021-09-21-13-42-38 4c6c4930-7680-4b2b-bf9c-745761bd5c08", "path_display": "/test/2021-09-21-13-42-38 4c6c4930-7680-4b2b-bf9c-745761bd5c08", "id": "id:UhiqWUVtd8AAAAAAAAFDWQ"}, {".tag": "folder", "name": "2021-09-21-13-42-42 3e748a6d-891f-4e33-8155-59ff988796e7", "path_lower": "/test/2021-09-21-13-42-42 3e748a6d-891f-4e33-8155-59ff988796e7", "path_display": "/test/2021-09-21-13-42-42 3e748a6d-891f-4e33-8155-59ff988796e7", "id": "id:UhiqWUVtd8AAAAAAAAFDXA"}, {".tag": "folder", "name": "2021-09-21-13-42-46 db0f3883-b0ab-4682-8764-4b580f7c4175", "path_lower": "/test/2021-09-21-13-42-46 db0f3883-b0ab-4682-8764-4b580f7c4175", "path_display": "/test/2021-09-21-13-42-46 db0f3883-b0ab-4682-8764-4b580f7c4175", "id": "id:UhiqWUVtd8AAAAAAAAFDXw"}, {".tag": "folder", "name": "2021-09-21-14-33-12 43263c62-2810-492e-a694-34bf49b6e2dc", "path_lower": "/test/2021-09-21-14-33-12 43263c62-2810-492e-a694-34bf49b6e2dc", "path_display": "/test/2021-09-21-14-33-12 43263c62-2810-492e-a694-34bf49b6e2dc", "id": "id:UhiqWUVtd8AAAAAAAAFDaw"}, {".tag": "folder", "name": "2021-09-21-14-33-15 f623be07-3757-48ca-90a8-2a70a87d64e9", "path_lower": "/test/2021-09-21-14-33-15 f623be07-3757-48ca-90a8-2a70a87d64e9", "path_display": "/test/2021-09-21-14-33-15 f623be07-3757-48ca-90a8-2a70a87d64e9", "id": "id:UhiqWUVtd8AAAAAAAAFDbg"}, {".tag": "folder", "name": "2021-09-21-14-33-18 60be1a6c-95ce-4daf-af49-e2263d38801a", "path_lower": "/test/2021-09-21-14-33-18 60be1a6c-95ce-4daf-af49-e2263d38801a", "path_display": "/test/2021-09-21-14-33-18 60be1a6c-95ce-4daf-af49-e2263d38801a", "id": "id:UhiqWUVtd8AAAAAAAAFDcQ"}, {".tag": "folder", "name": "2021-09-21-19-02-48 d7ef20ec-3cc8-40ca-b7cc-9833d5d2359a", "path_lower": "/test/2021-09-21-19-02-48 d7ef20ec-3cc8-40ca-b7cc-9833d5d2359a", "path_display": "/test/2021-09-21-19-02-48 d7ef20ec-3cc8-40ca-b7cc-9833d5d2359a", "id": "id:UhiqWUVtd8AAAAAAAAFDfQ"}, {".tag": "folder", "name": "2021-09-21-19-02-52 a78f1614-b6b6-4b20-a220-b349e6c213bb", "path_lower": "/test/2021-09-21-19-02-52 a78f1614-b6b6-4b20-a220-b349e6c213bb", "path_display": "/test/2021-09-21-19-02-52 a78f1614-b6b6-4b20-a220-b349e6c213bb", "id": "id:UhiqWUVtd8AAAAAAAAFDgA"}, {".tag": "folder", "name": "2021-09-21-19-02-56 36f41e7a-0494-4aed-b285-564be2958893", "path_lower": "/test/2021-09-21-19-02-56 36f41e7a-0494-4aed-b285-564be2958893", "path_display": "/test/2021-09-21-19-02-56 36f41e7a-0494-4aed-b285-564be2958893", "id": "id:UhiqWUVtd8AAAAAAAAFDgw"}, {".tag": "folder", "name": "2021-09-21-19-23-57 85eeb4d9-8e3e-4fdd-906f-466667065914", "path_lower": "/test/2021-09-21-19-23-57 85eeb4d9-8e3e-4fdd-906f-466667065914", "path_display": "/test/2021-09-21-19-23-57 85eeb4d9-8e3e-4fdd-906f-466667065914", "id": "id:UhiqWUVtd8AAAAAAAAFDhg"}, {".tag": "folder", "name": "2021-09-21-19-24-01 36775e16-4f34-453f-ad95-dd8074f9b5a6", "path_lower": "/test/2021-09-21-19-24-01 36775e16-4f34-453f-ad95-dd8074f9b5a6", "path_display": "/test/2021-09-21-19-24-01 36775e16-4f34-453f-ad95-dd8074f9b5a6", "id": "id:UhiqWUVtd8AAAAAAAAFDiQ"}, {".tag": "folder", "name": "2021-09-21-19-24-04 de4d2569-c34c-4bb2-ac80-d569a4d63e69", "path_lower": "/test/2021-09-21-19-24-04 de4d2569-c34c-4bb2-ac80-d569a4d63e69", "path_display": "/test/2021-09-21-19-24-04 de4d2569-c34c-4bb2-ac80-d569a4d63e69", "id": "id:UhiqWUVtd8AAAAAAAAFDjA"}], "cursor": "AAGLgICw6udJnJzwIWWABlHnoUfx20pa5ekUqXjBX8-ZUgzUpvHx_Y3BkyEJgv4zRi-ydaGsCmrWDnhW-HTopwm0R6AdLPA2NO7xhXl1GGSBFlUwJuTvPWaK9bQwm2wUbxWlZ8mUnmOtrqWBmOph4t2_6crLVMp0M2tljPw4lfV-l_TKkWAT2auZTMsKZQz9oPMS0fMgkoeD0BxxowXZiBxT", "has_more": true}
      >>> {"cursor":"AAGLgICw6udJnJzwIWWABlHnoUfx20pa5ekUqXjBX8-ZUgzUpvHx_Y3BkyEJgv4zRi-ydaGsCmrWDnhW-HTopwm0R6AdLPA2NO7xhXl1GGSBFlUwJuTvPWaK9bQwm2wUbxWlZ8mUnmOtrqWBmOph4t2_6crLVMp0M2tljPw4lfV-l_TKkWAT2auZTMsKZQz9oPMS0fMgkoeD0BxxowXZiBxT"}
      <<< {"entries": [{".tag": "folder", "name": "2022-06-24-12-17-18 420c25d5-daf2-4a45-8f88-7f2d976e7d38", "path_lower": "/test/2022-06-24-12-17-18 420c25d5-daf2-4a45-8f88-7f2d976e7d38", "path_display": "/test/2022-06-24-12-17-18 420c25d5-daf2-4a45-8f88-7f2d976e7d38", "id": "id:UhiqWUVtd8AAAAAAAAGASw"}], "cursor": "AAHoWvarH9FT_qP13kbls8N5JivveaKpXsgy1iiUHE7uCU-TbQ4kzAsBuSfxJiFwWUgrcrzqO6JdsgP37xHFcjOSK6BCXzVKwA_yCrJNdbBLdyqqMxA3CWdafVXWw2Y9cHynZIqtE8px6Ac9H7n5SyTlkSTbCcoXXBGSkXVOHaea5qhMuuTIDxZH569xBE8pGb4cby3ivEBWaeAg4twjzOF6", "has_more": true}
      >>> {"cursor":"AAHoWvarH9FT_qP13kbls8N5JivveaKpXsgy1iiUHE7uCU-TbQ4kzAsBuSfxJiFwWUgrcrzqO6JdsgP37xHFcjOSK6BCXzVKwA_yCrJNdbBLdyqqMxA3CWdafVXWw2Y9cHynZIqtE8px6Ac9H7n5SyTlkSTbCcoXXBGSkXVOHaea5qhMuuTIDxZH569xBE8pGb4cby3ivEBWaeAg4twjzOF6"}
      <<< {"entries": [{".tag": "folder", "name": "2022-07-26-11-34-55 b7c35f26-eaf5-42a8-ad84-5e462048214e", "path_lower": "/test/2022-07-26-11-34-55 b7c35f26-eaf5-42a8-ad84-5e462048214e", "path_display": "/test/2022-07-26-11-34-55 b7c35f26-eaf5-42a8-ad84-5e462048214e", "id": "id:UhiqWUVtd8AAAAAAAAGE4w"}], "cursor": "AAH6cM0CbGdhehjSQCPNuv6x75v2of3OyPajqpkVugM-KPimUuGTLi0T7x1Y4WMymHEHbUPlI0byL0pD6_aelAtKeuMjyfdCrMnLR8a_Pju_8sddYXORbiFg3cWv5-u8rusPgC40M4ITNb5iWi4xX6q-mVWDVUVxzQkXLsCADb9Tb6zEl6rSlOqFPBkPLNC58nLQj2RX6Ng_W5Ds8ubCdBpF", "has_more": true}
      >>> {"cursor":"AAH6cM0CbGdhehjSQCPNuv6x75v2of3OyPajqpkVugM-KPimUuGTLi0T7x1Y4WMymHEHbUPlI0byL0pD6_aelAtKeuMjyfdCrMnLR8a_Pju_8sddYXORbiFg3cWv5-u8rusPgC40M4ITNb5iWi4xX6q-mVWDVUVxzQkXLsCADb9Tb6zEl6rSlOqFPBkPLNC58nLQj2RX6Ng_W5Ds8ubCdBpF"}
      <<< {"entries": [{".tag": "folder", "name": "2022-08-10-13-47-42 0da6e085-8c11-4a29-8f02-320c05fe1eae", "path_lower": "/test/2022-08-10-13-47-42 0da6e085-8c11-4a29-8f02-320c05fe1eae", "path_display": "/test/2022-08-10-13-47-42 0da6e085-8c11-4a29-8f02-320c05fe1eae", "id": "id:UhiqWUVtd8AAAAAAAAGJyQ"}], "cursor": "AAH9MgA2ojI18LszK_qJwLj7uioy0wWHMrcrP9y1FVuCIB0-PbHRz-Wt9c0Ob6odEMNi2VjvK-MNTA5AMR7JmCdrcn7w3i9R5rgLt8_q6xmyKXcqGzQQ4Ji4iO_qvetQOfxe_A-D6VLpeome7XOm7CJRYqi58fMDed8SYkZ4uErFL-UnD_3IBV2cDv_6yYW6qgKzvME_w4YVR9GIv8VbJFbC", "has_more": true}
      >>> {"cursor":"AAH9MgA2ojI18LszK_qJwLj7uioy0wWHMrcrP9y1FVuCIB0-PbHRz-Wt9c0Ob6odEMNi2VjvK-MNTA5AMR7JmCdrcn7w3i9R5rgLt8_q6xmyKXcqGzQQ4Ji4iO_qvetQOfxe_A-D6VLpeome7XOm7CJRYqi58fMDed8SYkZ4uErFL-UnD_3IBV2cDv_6yYW6qgKzvME_w4YVR9GIv8VbJFbC"}
      <<< {"entries": [{".tag": "folder", "name": "2022-10-18-08-46-44 46259cc9-6545-449c-a384-8821f242931f", "path_lower": "/test/2022-10-18-08-46-44 46259cc9-6545-449c-a384-8821f242931f", "path_display": "/test/2022-10-18-08-46-44 46259cc9-6545-449c-a384-8821f242931f", "id": "id:UhiqWUVtd8AAAAAAAAGUrg"}], "cursor": "AAFBmUjadYQc_MnNTAzvMeFv8GUlr89gNHon5bdD11R_JsJWiZ0vDxirAbkfbVD7rlny70AEO73TEjjtJjA5Bc1mfNY_jWTLRCfxY9dC5nSOnUEpm-aTiXUP30tQ3Ph3slcbNl_keplRCV03N0cdSPsWqTND-ZSpv-87iJgj0WCA3sHpLk1tpNNGCeO0HJLq1MJ594t9tDfS6aWJo3z3l-MD", "has_more": true}
      >>> {"cursor":"AAFBmUjadYQc_MnNTAzvMeFv8GUlr89gNHon5bdD11R_JsJWiZ0vDxirAbkfbVD7rlny70AEO73TEjjtJjA5Bc1mfNY_jWTLRCfxY9dC5nSOnUEpm-aTiXUP30tQ3Ph3slcbNl_keplRCV03N0cdSPsWqTND-ZSpv-87iJgj0WCA3sHpLk1tpNNGCeO0HJLq1MJ594t9tDfS6aWJo3z3l-MD"}
      <<< {"entries": [{".tag": "folder", "name": "2022-11-23-15-06-43 50e360cb-de7b-4627-9b44-7340158ce79d", "path_lower": "/test/2022-11-23-15-06-43 50e360cb-de7b-4627-9b44-7340158ce79d", "path_display": "/test/2022-11-23-15-06-43 50e360cb-de7b-4627-9b44-7340158ce79d", "id": "id:UhiqWUVtd8AAAAAAAAGf7g"}, {".tag": "folder", "name": "2022-11-24-06-52-13 72e1a35c-95fb-400c-a5b5-b06072c1c9f0", "path_lower": "/test/2022-11-24-06-52-13 72e1a35c-95fb-400c-a5b5-b06072c1c9f0", "path_display": "/test/2022-11-24-06-52-13 72e1a35c-95fb-400c-a5b5-b06072c1c9f0", "id": "id:UhiqWUVtd8AAAAAAAAGgHg"}, {".tag": "folder", "name": "2022-11-24-06-52-19 7697380a-fb06-4712-aa07-73e47c705380", "path_lower": "/test/2022-11-24-06-52-19 7697380a-fb06-4712-aa07-73e47c705380", "path_display": "/test/2022-11-24-06-52-19 7697380a-fb06-4712-aa07-73e47c705380", "id": "id:UhiqWUVtd8AAAAAAAAGgIQ"}, {".tag": "folder", "name": "2022-11-24-06-52-23 b745bbcc-f6d8-4355-9112-b024e079b197", "path_lower": "/test/2022-11-24-06-52-23 b745bbcc-f6d8-4355-9112-b024e079b197", "path_display": "/test/2022-11-24-06-52-23 b745bbcc-f6d8-4355-9112-b024e079b197", "id": "id:UhiqWUVtd8AAAAAAAAGgJA"}, {".tag": "folder", "name": "2022-11-24-07-54-41 63c7f270-cbc3-4019-83cc-08eff2e345ab", "path_lower": "/test/2022-11-24-07-54-41 63c7f270-cbc3-4019-83cc-08eff2e345ab", "path_display": "/test/2022-11-24-07-54-41 63c7f270-cbc3-4019-83cc-08eff2e345ab", "id": "id:UhiqWUVtd8AAAAAAAAGgJw"}, {".tag": "folder", "name": "2022-11-24-07-54-46 273e14b5-b49f-4cd7-8cc6-1d6b7907ee1f", "path_lower": "/test/2022-11-24-07-54-46 273e14b5-b49f-4cd7-8cc6-1d6b7907ee1f", "path_display": "/test/2022-11-24-07-54-46 273e14b5-b49f-4cd7-8cc6-1d6b7907ee1f", "id": "id:UhiqWUVtd8AAAAAAAAGgKg"}, {".tag": "folder", "name": "2022-11-24-07-54-51 7ad21d6a-5032-4e13-9749-4b093e356862", "path_lower": "/test/2022-11-24-07-54-51 7ad21d6a-5032-4e13-9749-4b093e356862", "path_display": "/test/2022-11-24-07-54-51 7ad21d6a-5032-4e13-9749-4b093e356862", "id": "id:UhiqWUVtd8AAAAAAAAGgLQ"}, {".tag": "folder", "name": "2022-11-24-07-50-15 59b51ef1-1fec-4eb4-bf5f-f8b264dcb7f9", "path_lower": "/test/2022-11-24-07-50-15 59b51ef1-1fec-4eb4-bf5f-f8b264dcb7f9", "path_display": "/test/2022-11-24-07-50-15 59b51ef1-1fec-4eb4-bf5f-f8b264dcb7f9", "id": "id:UhiqWUVtd8AAAAAAAAGgMA"}, {".tag": "folder", "name": "2022-11-24-07-50-21 58d279d9-1c4d-44fe-a79e-4b84f18eb5cf", "path_lower": "/test/2022-11-24-07-50-21 58d279d9-1c4d-44fe-a79e-4b84f18eb5cf", "path_display": "/test/2022-11-24-07-50-21 58d279d9-1c4d-44fe-a79e-4b84f18eb5cf", "id": "id:UhiqWUVtd8AAAAAAAAGgMw"}, {".tag": "folder", "name": "2022-11-24-07-50-25 8429b977-7f36-48c4-88fa-e5decd10b446", "path_lower": "/test/2022-11-24-07-50-25 8429b977-7f36-48c4-88fa-e5decd10b446", "path_display": "/test/2022-11-24-07-50-25 8429b977-7f36-48c4-88fa-e5decd10b446", "id": "id:UhiqWUVtd8AAAAAAAAGgNg"}, {".tag": "folder", "name": "2022-11-24-08-52-50 dfafbc47-322e-4a5b-9eff-668ac398478a", "path_lower": "/test/2022-11-24-08-52-50 dfafbc47-322e-4a5b-9eff-668ac398478a", "path_display": "/test/2022-11-24-08-52-50 dfafbc47-322e-4a5b-9eff-668ac398478a", "id": "id:UhiqWUVtd8AAAAAAAAGgOQ"}, {".tag": "folder", "name": "2022-11-24-08-52-56 eef91d53-2cbb-4bed-bc21-ce5000196dd9", "path_lower": "/test/2022-11-24-08-52-56 eef91d53-2cbb-4bed-bc21-ce5000196dd9", "path_display": "/test/2022-11-24-08-52-56 eef91d53-2cbb-4bed-bc21-ce5000196dd9", "id": "id:UhiqWUVtd8AAAAAAAAGgPA"}, {".tag": "folder", "name": "2022-11-24-08-53-00 92c84afa-649c-4269-9bb6-0a47874b5bb1", "path_lower": "/test/2022-11-24-08-53-00 92c84afa-649c-4269-9bb6-0a47874b5bb1", "path_display": "/test/2022-11-24-08-53-00 92c84afa-649c-4269-9bb6-0a47874b5bb1", "id": "id:UhiqWUVtd8AAAAAAAAGgPw"}, {".tag": "folder", "name": "2022-11-24-08-31-15 4cdea28c-b273-4c31-9388-5e5c95437129", "path_lower": "/test/2022-11-24-08-31-15 4cdea28c-b273-4c31-9388-5e5c95437129", "path_display": "/test/2022-11-24-08-31-15 4cdea28c-b273-4c31-9388-5e5c95437129", "id": "id:UhiqWUVtd8AAAAAAAAGgQg"}, {".tag": "folder", "name": "2022-11-24-08-31-22 f94df1ff-c6d5-40d1-a208-30d88b83cd05", "path_lower": "/test/2022-11-24-08-31-22 f94df1ff-c6d5-40d1-a208-30d88b83cd05", "path_display": "/test/2022-11-24-08-31-22 f94df1ff-c6d5-40d1-a208-30d88b83cd05", "id": "id:UhiqWUVtd8AAAAAAAAGgRQ"}, {".tag": "folder", "name": "2022-11-24-08-31-26 169f1de0-27ca-4cfa-9f22-15433be6a006", "path_lower": "/test/2022-11-24-08-31-26 169f1de0-27ca-4cfa-9f22-15433be6a006", "path_display": "/test/2022-11-24-08-31-26 169f1de0-27ca-4cfa-9f22-15433be6a006", "id": "id:UhiqWUVtd8AAAAAAAAGgSA"}, {".tag": "folder", "name": "2022-11-24-09-34-21 fd5345e3-2064-4429-b8cd-ef4506d09c94", "path_lower": "/test/2022-11-24-09-34-21 fd5345e3-2064-4429-b8cd-ef4506d09c94", "path_display": "/test/2022-11-24-09-34-21 fd5345e3-2064-4429-b8cd-ef4506d09c94", "id": "id:UhiqWUVtd8AAAAAAAAGgSw"}, {".tag": "folder", "name": "2022-11-24-09-34-27 0caf0151-9c46-4527-8dd1-1c11fe9e862d", "path_lower": "/test/2022-11-24-09-34-27 0caf0151-9c46-4527-8dd1-1c11fe9e862d", "path_display": "/test/2022-11-24-09-34-27 0caf0151-9c46-4527-8dd1-1c11fe9e862d", "id": "id:UhiqWUVtd8AAAAAAAAGgTg"}, {".tag": "folder", "name": "2022-11-24-08-34-29 00761549-4fe0-4762-9ffe-2ee88c28b363", "path_lower": "/test/2022-11-24-08-34-29 00761549-4fe0-4762-9ffe-2ee88c28b363", "path_display": "/test/2022-11-24-08-34-29 00761549-4fe0-4762-9ffe-2ee88c28b363", "id": "id:UhiqWUVtd8AAAAAAAAGgUQ"}, {".tag": "folder", "name": "2022-11-24-09-34-32 b21f6bc7-0435-4742-8411-568c783c1e51", "path_lower": "/test/2022-11-24-09-34-32 b21f6bc7-0435-4742-8411-568c783c1e51", "path_display": "/test/2022-11-24-09-34-32 b21f6bc7-0435-4742-8411-568c783c1e51", "id": "id:UhiqWUVtd8AAAAAAAAGgVA"}, {".tag": "folder", "name": "2022-11-24-08-34-35 04fa72a5-afbe-4382-9e40-0207bdbfdb87", "path_lower": "/test/2022-11-24-08-34-35 04fa72a5-afbe-4382-9e40-0207bdbfdb87", "path_display": "/test/2022-11-24-08-34-35 04fa72a5-afbe-4382-9e40-0207bdbfdb87", "id": "id:UhiqWUVtd8AAAAAAAAGgVw"}, {".tag": "folder", "name": "2022-11-24-08-34-40 b7774750-97f3-41ac-92b7-7631a7910e36", "path_lower": "/test/2022-11-24-08-34-40 b7774750-97f3-41ac-92b7-7631a7910e36", "path_display": "/test/2022-11-24-08-34-40 b7774750-97f3-41ac-92b7-7631a7910e36", "id": "id:UhiqWUVtd8AAAAAAAAGgWg"}, {".tag": "folder", "name": "2022-11-24-09-37-29 e3e2b6ea-2638-4698-8588-c19ba27e6ede", "path_lower": "/test/2022-11-24-09-37-29 e3e2b6ea-2638-4698-8588-c19ba27e6ede", "path_display": "/test/2022-11-24-09-37-29 e3e2b6ea-2638-4698-8588-c19ba27e6ede", "id": "id:UhiqWUVtd8AAAAAAAAGgXQ"}, {".tag": "folder", "name": "2022-11-24-09-37-35 33a1bfbc-3509-4a8d-9e91-4c2e81fd2df9", "path_lower": "/test/2022-11-24-09-37-35 33a1bfbc-3509-4a8d-9e91-4c2e81fd2df9", "path_display": "/test/2022-11-24-09-37-35 33a1bfbc-3509-4a8d-9e91-4c2e81fd2df9", "id": "id:UhiqWUVtd8AAAAAAAAGgYA"}, {".tag": "folder", "name": "2022-11-24-09-37-41 702d31da-2ea4-4a21-b02f-e119b3a9775d", "path_lower": "/test/2022-11-24-09-37-41 702d31da-2ea4-4a21-b02f-e119b3a9775d", "path_display": "/test/2022-11-24-09-37-41 702d31da-2ea4-4a21-b02f-e119b3a9775d", "id": "id:UhiqWUVtd8AAAAAAAAGgYw"}], "cursor": "AAG9jrTYfuJ5CKtZcDNgry8RyrCy85fdtD0JBZYLaiKKFD1agJgXHwAyayh0Se0zVIuYYQr95YmmZIvGj9GgH0tZ6VoKhewfzz1fObQ3wKw8ww-ujZqXtSSEPiwA2HepQUbZC22QsWVSW2DbzBDYEtDuudcs26H-BGZlaOMD7xMU11KqT_fwxaWLy5JtcDt3PQ7j7nJ5IYqjuoGig7p_ujZl", "has_more": true}
      >>> {"cursor":"AAG9jrTYfuJ5CKtZcDNgry8RyrCy85fdtD0JBZYLaiKKFD1agJgXHwAyayh0Se0zVIuYYQr95YmmZIvGj9GgH0tZ6VoKhewfzz1fObQ3wKw8ww-ujZqXtSSEPiwA2HepQUbZC22QsWVSW2DbzBDYEtDuudcs26H-BGZlaOMD7xMU11KqT_fwxaWLy5JtcDt3PQ7j7nJ5IYqjuoGig7p_ujZl"}
      <<< {"entries": [{".tag": "folder", "name": "2022-11-24-12-44-37 3a200d78-2539-4e4f-b275-fa7b187d8caf", "path_lower": "/test/2022-11-24-12-44-37 3a200d78-2539-4e4f-b275-fa7b187d8caf", "path_display": "/test/2022-11-24-12-44-37 3a200d78-2539-4e4f-b275-fa7b187d8caf", "id": "id:UhiqWUVtd8AAAAAAAAGgig"}, {".tag": "folder", "name": "2022-11-25-12-30-24 f12fc5f4-1dc3-4092-b7d1-f727cb4388c9", "path_lower": "/test/2022-11-25-12-30-24 f12fc5f4-1dc3-4092-b7d1-f727cb4388c9", "path_display": "/test/2022-11-25-12-30-24 f12fc5f4-1dc3-4092-b7d1-f727cb4388c9", "id": "id:UhiqWUVtd8AAAAAAAAGhbg"}, {".tag": "folder", "name": "2022-11-25-12-31-00 1e50f1c0-9d69-4440-8749-8290229828fc", "path_lower": "/test/2022-11-25-12-31-00 1e50f1c0-9d69-4440-8749-8290229828fc", "path_display": "/test/2022-11-25-12-31-00 1e50f1c0-9d69-4440-8749-8290229828fc", "id": "id:UhiqWUVtd8AAAAAAAAGhcQ"}, {".tag": "folder", "name": "2022-11-25-13-38-51 b78eff5d-7d47-492e-bfaf-a3fbe0eed3bc", "path_lower": "/test/2022-11-25-13-38-51 b78eff5d-7d47-492e-bfaf-a3fbe0eed3bc", "path_display": "/test/2022-11-25-13-38-51 b78eff5d-7d47-492e-bfaf-a3fbe0eed3bc", "id": "id:UhiqWUVtd8AAAAAAAAGhjw"}, {".tag": "folder", "name": "2022-11-25-13-41-12 2eb0b283-c81f-49d6-bd50-71bb580b1911", "path_lower": "/test/2022-11-25-13-41-12 2eb0b283-c81f-49d6-bd50-71bb580b1911", "path_display": "/test/2022-11-25-13-41-12 2eb0b283-c81f-49d6-bd50-71bb580b1911", "id": "id:UhiqWUVtd8AAAAAAAAGhkg"}, {".tag": "folder", "name": "2022-11-25-13-41-52 c4499a62-1768-4954-80b1-de891794a20f", "path_lower": "/test/2022-11-25-13-41-52 c4499a62-1768-4954-80b1-de891794a20f", "path_display": "/test/2022-11-25-13-41-52 c4499a62-1768-4954-80b1-de891794a20f", "id": "id:UhiqWUVtd8AAAAAAAAGhlQ"}, {".tag": "folder", "name": "2022-11-25-13-42-56 c7d913b1-496b-4072-8cc4-1c2f2e3bdb05", "path_lower": "/test/2022-11-25-13-42-56 c7d913b1-496b-4072-8cc4-1c2f2e3bdb05", "path_display": "/test/2022-11-25-13-42-56 c7d913b1-496b-4072-8cc4-1c2f2e3bdb05", "id": "id:UhiqWUVtd8AAAAAAAAGhmA"}], "cursor": "AAGmaZLashey-WU8HQ9czOJastcCmM45E3KvS3SXWKgGyuhgqBTjpY-HHnolyg_PE5EufvkzIgC4SKizXMROY62nslhMN-lTsKLQTS7gMyE8NAktJsGTLNZYfxyoAXuFwbrgWUBWnq_mWDkEoomejSgTN_YlBWr9C4N_v7_y2CuXmcv35rcJkzQBx5JnhS67KHpSrFziqLXv_h2ieZbKhoR3", "has_more": true}
      >>> {"cursor":"AAGmaZLashey-WU8HQ9czOJastcCmM45E3KvS3SXWKgGyuhgqBTjpY-HHnolyg_PE5EufvkzIgC4SKizXMROY62nslhMN-lTsKLQTS7gMyE8NAktJsGTLNZYfxyoAXuFwbrgWUBWnq_mWDkEoomejSgTN_YlBWr9C4N_v7_y2CuXmcv35rcJkzQBx5JnhS67KHpSrFziqLXv_h2ieZbKhoR3"}
      <<< Error in call to API function "files/list_folder/continue": Error while authenticating request
      
      Unhandled Exception: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: E. Path '', line 0, position 0.
         at Newtonsoft.Json.JsonTextReader.ParseValue()
         at Newtonsoft.Json.JsonTextReader.Read()
         at Dropbox.Api.Stone.JsonReader.Read[T](String json, IDecoder`1 decoder)
         at Dropbox.Api.StructuredException`1.Decode[TException](String json, IDecoder`1 errorDecoder, Func`1 exceptionFunc)
         at Dropbox.Api.DropboxRequestHandler.<RequestJsonString>d__20.MoveNext()

      In some cases DropBox servers respond with:

      Error in call to API function "files/list_folder/continue": Error while authenticating request

    • setycz's avatar
      setycz
      Explorer | Level 3

      This is the sample code:

      using System;
      using System.Collections.Generic;
      using System.Linq;
      using System.Net;
      using System.Net.Http;
      using System.Threading;
      using System.Threading.Tasks;
      using Dropbox.Api;
      using Dropbox.Api.Team;
      
      namespace DropBoxConnectorSample
      {
          internal class Program
          {
              private sealed class CustomWebRequestHandler : WebRequestHandler
              {
                  protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request,
                      CancellationToken cancellationToken)
                  {
                      var requestBody = await request.Content.ReadAsStringAsync();
                      Console.WriteLine(">>> " + requestBody);
      
                      var result = await base.SendAsync(request, cancellationToken);
      
                      var resultBody = await result.Content.ReadAsStringAsync();
                      Console.WriteLine("<<< " + resultBody);
      
                      return result;
                  }
              }
      
              private HttpClient CreateHttpClient()
              {
                  var handler = new CustomWebRequestHandler
                  {
                      ReadWriteTimeout = 10 * 1000
                  };
                  if (handler.SupportsAutomaticDecompression)
                      handler.AutomaticDecompression = DecompressionMethods.Deflate
                                                       | DecompressionMethods.GZip;
      
                  return new HttpClient(handler) { Timeout = TimeSpan.FromHours(24) };
              }
      
              private DropboxTeamClient CreateTeamClientAsync()
              {
                  var httpClient = CreateHttpClient();
                  const int retryCount = 4;
                  return new DropboxTeamClient("YOUR TOKEN",
                      new DropboxClientConfig(null, retryCount) { HttpClient = httpClient });
              }
      
              private async Task<string> FindMemberIdAsync(DropboxTeamClient client)
              {
                  var criterium = new UserSelectorArg.Email("YOUR EMAIL");
                  var memberInfo = await client.Team.MembersGetInfoAsync(new[] { criterium }).ConfigureAwait(false);
                  var id = memberInfo.FirstOrDefault()?.AsMemberInfo?.Value?.Profile?.TeamMemberId;
                  if (id == null) throw new InvalidOperationException("Could not find a dropbox user.");
      
                  return id;
              }
      
              private async Task<DropboxClient> CreateClientAsync()
              {
                  var teamClient = CreateTeamClientAsync();
                  var memberId = await FindMemberIdAsync(teamClient).ConfigureAwait(false);
                  return teamClient.AsMember(memberId);
              }
      
              public async Task<IEnumerable<string>> ListFoldersAsync(string relativePath)
              {
                  var client = await CreateClientAsync().ConfigureAwait(false);
      
                  var folders = await client.Files.ListFolderAsync(relativePath).ConfigureAwait(false);
                  var result = folders.Entries.Where(e => e.IsFolder).Select(e => e.AsFolder.Name).ToList();
                  while (folders.HasMore)
                  {
                      folders = await client.Files.ListFolderContinueAsync(folders.Cursor).ConfigureAwait(false);
                      result.AddRange(folders.Entries.Where(e => e.IsFolder).Select(e => e.AsFolder.Name));
                  }
      
                  return result;
              }
      
              private static async Task Main(string[] args)
              {
                  while (true)
                  {
                      var p = new Program();
                      var result = await p.ListFoldersAsync("/Test");
                      Console.WriteLine("END: " + string.Join(", ", result));
                  }
              }
          }
      }

      As you can see I have managed to dump the actual communication with DropBox servers.

  • setycz's avatar
    setycz
    Explorer | Level 3

    This is the sample code:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Net;
    using System.Net.Http;
    using System.Threading;
    using System.Threading.Tasks;
    using Dropbox.Api;
    using Dropbox.Api.Team;
    
    namespace DropBoxConnectorSample
    {
        internal class Program
        {
            private sealed class CustomWebRequestHandler : WebRequestHandler
            {
                protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request,
                    CancellationToken cancellationToken)
                {
                    var requestBody = await request.Content.ReadAsStringAsync();
                    Console.WriteLine(">>> " + requestBody);
    
                    var result = await base.SendAsync(request, cancellationToken);
    
                    var resultBody = await result.Content.ReadAsStringAsync();
                    Console.WriteLine("<<< " + resultBody);
    
                    return result;
                }
            }
    
            private HttpClient CreateHttpClient()
            {
                var handler = new CustomWebRequestHandler
                {
                    ReadWriteTimeout = 10 * 1000
                };
                if (handler.SupportsAutomaticDecompression)
                    handler.AutomaticDecompression = DecompressionMethods.Deflate
                                                     | DecompressionMethods.GZip;
    
                return new HttpClient(handler) { Timeout = TimeSpan.FromHours(24) };
            }
    
            private DropboxTeamClient CreateTeamClientAsync()
            {
                var httpClient = CreateHttpClient();
                const int retryCount = 4;
                return new DropboxTeamClient("YOUR TOKEN",
                    new DropboxClientConfig(null, retryCount) { HttpClient = httpClient });
            }
    
            private async Task<string> FindMemberIdAsync(DropboxTeamClient client)
            {
                var criterium = new UserSelectorArg.Email("YOUR EMAIL");
                var memberInfo = await client.Team.MembersGetInfoAsync(new[] { criterium }).ConfigureAwait(false);
                var id = memberInfo.FirstOrDefault()?.AsMemberInfo?.Value?.Profile?.TeamMemberId;
                if (id == null) throw new InvalidOperationException("Could not find a dropbox user.");
    
                return id;
            }
    
            private async Task<DropboxClient> CreateClientAsync()
            {
                var teamClient = CreateTeamClientAsync();
                var memberId = await FindMemberIdAsync(teamClient).ConfigureAwait(false);
                return teamClient.AsMember(memberId);
            }
    
            public async Task<IEnumerable<string>> ListFoldersAsync(string relativePath)
            {
                var client = await CreateClientAsync().ConfigureAwait(false);
    
                var folders = await client.Files.ListFolderAsync(relativePath).ConfigureAwait(false);
                var result = folders.Entries.Where(e => e.IsFolder).Select(e => e.AsFolder.Name).ToList();
                while (folders.HasMore)
                {
                    folders = await client.Files.ListFolderContinueAsync(folders.Cursor).ConfigureAwait(false);
                    result.AddRange(folders.Entries.Where(e => e.IsFolder).Select(e => e.AsFolder.Name));
                }
    
                return result;
            }
    
            private static async Task Main(string[] args)
            {
                while (true)
                {
                    var p = new Program();
                    var result = await p.ListFoldersAsync("/Test");
                    Console.WriteLine("END: " + string.Join(", ", result));
                }
            }
        }
    }

    As you can see I have managed to get the actual communication with DropBox servers dumped. This is the output when the error occures:

    >>> {"members":[{".tag":"email","email":"CENSORED"}]}
    <<< [{".tag": "member_info", "profile": "CENSORED", "role": {".tag": "team_admin"}}]
    >>> {"path":"/Test","recursive":false,"include_media_info":false,"include_deleted":false,"include_has_explicit_shared_members":false,"include_mounted_folders":true,"include_non_downloadable_files":true}
    <<< {"entries": [{".tag": "folder", "name": "apa", "path_lower": "/test/apa", "path_display": "/test/apa", "id": "id:UhiqWUVtd8AAAAAAAAAAow"}, {".tag": "folder", "name": "automated", "path_lower": "/test/automated", "path_display": "/test/automated", "id": "id:UhiqWUVtd8AAAAAAAAAAIQ"}, {".tag": "folder", "name": "browsing tests", "path_lower": "/test/browsing tests", "path_display": "/test/browsing tests", "id": "id:UhiqWUVtd8AAAAAAAAAsew"}, {".tag": "folder", "name": "css", "path_lower": "/test/css", "path_display": "/test/css", "id": "id:UhiqWUVtd8AAAAAAAAAAIA"}, {".tag": "folder", "name": "integration", "path_lower": "/test/integration", "path_display": "/test/integration", "id": "id:UhiqWUVtd8AAAAAAAAAAHg"}, {".tag": "folder", "name": "Integration C#", "path_lower": "/test/integration c#", "path_display": "/test/Integration C#", "id": "id:UhiqWUVtd8AAAAAAAAAEZw"}, {".tag": "folder", "name": "mock", "path_lower": "/test/mock", "path_display": "/test/mock", "id": "id:UhiqWUVtd8AAAAAAAAAAHQ"}, {".tag": "folder", "name": "regression", "path_lower": "/test/regression", "path_display": "/test/regression", "id": "id:UhiqWUVtd8AAAAAAAAAAHw"}, {".tag": "file", "name": "final destination.pdf", "path_lower": "/test/final destination.pdf", "path_display": "/test/final destination.pdf", "id": "id:UhiqWUVtd8AAAAAAAAAc7g", "client_modified": "2016-11-29T15:22:17Z", "server_modified": "2017-02-14T09:44:51Z", "rev": "604340e409a1", "size": 808635, "is_downloadable": true, "content_hash": "78e2ad053ee6a7ead2d1afa12d49f5341daa02e744fdd4b0ccf4bbd376e1e646"}], "cursor": "AAE7WqHRPGfpkYDfpmNv9eFrDHK22RuktQCvQU7QdotyU5dFr4p1F9114G_T6S7VLeFpXK1KRZ1WPiy0FWGjC6LnCeOgOkKLr6dhZJYLw42kDGzbNYy5GAyArF4rRTNaykokwNDXvCr6w7HFvV25JOZTGTpHcmkGqEW49FpQ0KKXjIAa7dbihn33HSKJh-Z7EyHMLdMlk-k71mWZFJ_wjbzY", "has_more": true}
    >>> {"cursor":"AAE7WqHRPGfpkYDfpmNv9eFrDHK22RuktQCvQU7QdotyU5dFr4p1F9114G_T6S7VLeFpXK1KRZ1WPiy0FWGjC6LnCeOgOkKLr6dhZJYLw42kDGzbNYy5GAyArF4rRTNaykokwNDXvCr6w7HFvV25JOZTGTpHcmkGqEW49FpQ0KKXjIAa7dbihn33HSKJh-Z7EyHMLdMlk-k71mWZFJ_wjbzY"}
    <<< {"entries": [{".tag": "folder", "name": "2020-02-03-13-58-30 af2d9bf4-6dad-445d-a854-9efe17c8b69f", "path_lower": "/test/2020-02-03-13-58-30 af2d9bf4-6dad-445d-a854-9efe17c8b69f", "path_display": "/test/2020-02-03-13-58-30 af2d9bf4-6dad-445d-a854-9efe17c8b69f", "id": "id:UhiqWUVtd8AAAAAAAADevg"}], "cursor": "AAHlUmw4yKxyXWohYfSWAO1Xy9p6CztFJ4pgiponYaEodX1b0V-drgh9ghcbdMensf8h3QlUlAvBSSYtitIS6SSHKAT57IyRhXp0cDv4Blxop0YiL9XS3gllpOXvgdBaiCdBDK4HHK0Zu4Raew5W2LaNmzTnmBwX1WQWK0j5J44lCq8jRDeLA7K9MBhsdgRgRzVe7hgviq2SoGDWdKaFpUCw", "has_more": true}
    >>> {"cursor":"AAHlUmw4yKxyXWohYfSWAO1Xy9p6CztFJ4pgiponYaEodX1b0V-drgh9ghcbdMensf8h3QlUlAvBSSYtitIS6SSHKAT57IyRhXp0cDv4Blxop0YiL9XS3gllpOXvgdBaiCdBDK4HHK0Zu4Raew5W2LaNmzTnmBwX1WQWK0j5J44lCq8jRDeLA7K9MBhsdgRgRzVe7hgviq2SoGDWdKaFpUCw"}
    <<< {"entries": [{".tag": "folder", "name": "2020-11-27-16-21-20 a6e9d1e4-a608-4cec-b314-1379a62be093", "path_lower": "/test/2020-11-27-16-21-20 a6e9d1e4-a608-4cec-b314-1379a62be093", "path_display": "/test/2020-11-27-16-21-20 a6e9d1e4-a608-4cec-b314-1379a62be093", "id": "id:UhiqWUVtd8AAAAAAAAEPMQ"}], "cursor": "AAHX77IND0uXsmiEDSsihFzM-8WlbvAjfWRnjYlp7_AcwHb9lrmb3LJzIyB294rxJpaoYytsrkjF6XApgKqpe4CRpBLx-Ugh4HMJlSOEi6BuB2e0NSRihdlY-RMdKsIfLUPGnYma5XBKaEElaKEgvmnWwhIOWQbayG09_YV7y8OX1J6wXcO0bA__4HlXcU-YZcPX314DM1h__f5TED6XW-O2", "has_more": true}
    >>> {"cursor":"AAHX77IND0uXsmiEDSsihFzM-8WlbvAjfWRnjYlp7_AcwHb9lrmb3LJzIyB294rxJpaoYytsrkjF6XApgKqpe4CRpBLx-Ugh4HMJlSOEi6BuB2e0NSRihdlY-RMdKsIfLUPGnYma5XBKaEElaKEgvmnWwhIOWQbayG09_YV7y8OX1J6wXcO0bA__4HlXcU-YZcPX314DM1h__f5TED6XW-O2"}
    <<< {"entries": [{".tag": "folder", "name": "2020-12-16-10-22-43 f48f5d15-1bb1-477a-b7d1-05d0c89bc365", "path_lower": "/test/2020-12-16-10-22-43 f48f5d15-1bb1-477a-b7d1-05d0c89bc365", "path_display": "/test/2020-12-16-10-22-43 f48f5d15-1bb1-477a-b7d1-05d0c89bc365", "id": "id:UhiqWUVtd8AAAAAAAAEUpA"}], "cursor": "AAErEA91qSXw7BidaVIh4yzaxBOX1-ScB-r_s4mdaKme1FCtpNf3k6xgwYH_IdH42AMI-DDmgxGujEQrqVvyMeLv-R3sJU_-LxULiPfbI0LpMk1rmvpQp0Vx3rdvmh5eOvk4_Ghlw7pGPlTTHc-N1zQWm9il1DecdXXaguBJBwVlviJwqvapkCE401xq8qvymtVLGt49yqqXQjifPXGG0Maj", "has_more": true}
    >>> {"cursor":"AAErEA91qSXw7BidaVIh4yzaxBOX1-ScB-r_s4mdaKme1FCtpNf3k6xgwYH_IdH42AMI-DDmgxGujEQrqVvyMeLv-R3sJU_-LxULiPfbI0LpMk1rmvpQp0Vx3rdvmh5eOvk4_Ghlw7pGPlTTHc-N1zQWm9il1DecdXXaguBJBwVlviJwqvapkCE401xq8qvymtVLGt49yqqXQjifPXGG0Maj"}
    <<< {"entries": [{".tag": "folder", "name": "2021-06-16-16-11-26 a6dd8ac9-c658-4870-8a78-2cdf734e8e14", "path_lower": "/test/2021-06-16-16-11-26 a6dd8ac9-c658-4870-8a78-2cdf734e8e14", "path_display": "/test/2021-06-16-16-11-26 a6dd8ac9-c658-4870-8a78-2cdf734e8e14", "id": "id:UhiqWUVtd8AAAAAAAAEu0g"}], "cursor": "AAHHHCbjbXLDFD4Sj2CGqcSnrv33nXUBVS2yxTFJxSV_PA9fUDOjrMaE6-hmO9NzkvLNcHBwTT1CZ9Niq3pioGERCOnZ7JKvYvBE0OLLSCBDoQRJuZ06hiKGT0EmuHuX7FS3UJywDDtAFKzub7dIRyoTZp5E9yMmpL87WtafJrI8kGlau3-_sTkBGB5UUhQoOKD5hm_0zoJmci7HRPaJWn12", "has_more": true}
    >>> {"cursor":"AAHHHCbjbXLDFD4Sj2CGqcSnrv33nXUBVS2yxTFJxSV_PA9fUDOjrMaE6-hmO9NzkvLNcHBwTT1CZ9Niq3pioGERCOnZ7JKvYvBE0OLLSCBDoQRJuZ06hiKGT0EmuHuX7FS3UJywDDtAFKzub7dIRyoTZp5E9yMmpL87WtafJrI8kGlau3-_sTkBGB5UUhQoOKD5hm_0zoJmci7HRPaJWn12"}
    <<< {"entries": [{".tag": "folder", "name": "2021-09-21-12-29-02 87ed725c-e11f-4d24-a0c4-cd2b3b0ecba2", "path_lower": "/test/2021-09-21-12-29-02 87ed725c-e11f-4d24-a0c4-cd2b3b0ecba2", "path_display": "/test/2021-09-21-12-29-02 87ed725c-e11f-4d24-a0c4-cd2b3b0ecba2", "id": "id:UhiqWUVtd8AAAAAAAAFDLA"}, {".tag": "folder", "name": "2021-09-21-12-29-06 1eafae9b-83b7-44f9-a9ab-d35c647528ed", "path_lower": "/test/2021-09-21-12-29-06 1eafae9b-83b7-44f9-a9ab-d35c647528ed", "path_display": "/test/2021-09-21-12-29-06 1eafae9b-83b7-44f9-a9ab-d35c647528ed", "id": "id:UhiqWUVtd8AAAAAAAAFDLw"}, {".tag": "folder", "name": "2021-09-21-12-29-09 0b4c29e8-0762-49ea-af45-07e79d4c8457", "path_lower": "/test/2021-09-21-12-29-09 0b4c29e8-0762-49ea-af45-07e79d4c8457", "path_display": "/test/2021-09-21-12-29-09 0b4c29e8-0762-49ea-af45-07e79d4c8457", "id": "id:UhiqWUVtd8AAAAAAAAFDMg"}, {".tag": "folder", "name": "2021-09-21-13-22-16 5a854555-1c85-4ed0-9224-831c78bd8d7f", "path_lower": "/test/2021-09-21-13-22-16 5a854555-1c85-4ed0-9224-831c78bd8d7f", "path_display": "/test/2021-09-21-13-22-16 5a854555-1c85-4ed0-9224-831c78bd8d7f", "id": "id:UhiqWUVtd8AAAAAAAAFDRw"}, {".tag": "folder", "name": "2021-09-21-13-22-20 b97cddce-990d-4ad1-81d5-cb3f44e244d4", "path_lower": "/test/2021-09-21-13-22-20 b97cddce-990d-4ad1-81d5-cb3f44e244d4", "path_display": "/test/2021-09-21-13-22-20 b97cddce-990d-4ad1-81d5-cb3f44e244d4", "id": "id:UhiqWUVtd8AAAAAAAAFDSg"}, {".tag": "folder", "name": "2021-09-21-13-22-23 810cd01a-9f82-4d74-b829-f63c951a3fa5", "path_lower": "/test/2021-09-21-13-22-23 810cd01a-9f82-4d74-b829-f63c951a3fa5", "path_display": "/test/2021-09-21-13-22-23 810cd01a-9f82-4d74-b829-f63c951a3fa5", "id": "id:UhiqWUVtd8AAAAAAAAFDTQ"}, {".tag": "folder", "name": "2021-09-21-13-42-38 4c6c4930-7680-4b2b-bf9c-745761bd5c08", "path_lower": "/test/2021-09-21-13-42-38 4c6c4930-7680-4b2b-bf9c-745761bd5c08", "path_display": "/test/2021-09-21-13-42-38 4c6c4930-7680-4b2b-bf9c-745761bd5c08", "id": "id:UhiqWUVtd8AAAAAAAAFDWQ"}, {".tag": "folder", "name": "2021-09-21-13-42-42 3e748a6d-891f-4e33-8155-59ff988796e7", "path_lower": "/test/2021-09-21-13-42-42 3e748a6d-891f-4e33-8155-59ff988796e7", "path_display": "/test/2021-09-21-13-42-42 3e748a6d-891f-4e33-8155-59ff988796e7", "id": "id:UhiqWUVtd8AAAAAAAAFDXA"}, {".tag": "folder", "name": "2021-09-21-13-42-46 db0f3883-b0ab-4682-8764-4b580f7c4175", "path_lower": "/test/2021-09-21-13-42-46 db0f3883-b0ab-4682-8764-4b580f7c4175", "path_display": "/test/2021-09-21-13-42-46 db0f3883-b0ab-4682-8764-4b580f7c4175", "id": "id:UhiqWUVtd8AAAAAAAAFDXw"}, {".tag": "folder", "name": "2021-09-21-14-33-12 43263c62-2810-492e-a694-34bf49b6e2dc", "path_lower": "/test/2021-09-21-14-33-12 43263c62-2810-492e-a694-34bf49b6e2dc", "path_display": "/test/2021-09-21-14-33-12 43263c62-2810-492e-a694-34bf49b6e2dc", "id": "id:UhiqWUVtd8AAAAAAAAFDaw"}, {".tag": "folder", "name": "2021-09-21-14-33-15 f623be07-3757-48ca-90a8-2a70a87d64e9", "path_lower": "/test/2021-09-21-14-33-15 f623be07-3757-48ca-90a8-2a70a87d64e9", "path_display": "/test/2021-09-21-14-33-15 f623be07-3757-48ca-90a8-2a70a87d64e9", "id": "id:UhiqWUVtd8AAAAAAAAFDbg"}, {".tag": "folder", "name": "2021-09-21-14-33-18 60be1a6c-95ce-4daf-af49-e2263d38801a", "path_lower": "/test/2021-09-21-14-33-18 60be1a6c-95ce-4daf-af49-e2263d38801a", "path_display": "/test/2021-09-21-14-33-18 60be1a6c-95ce-4daf-af49-e2263d38801a", "id": "id:UhiqWUVtd8AAAAAAAAFDcQ"}, {".tag": "folder", "name": "2021-09-21-19-02-48 d7ef20ec-3cc8-40ca-b7cc-9833d5d2359a", "path_lower": "/test/2021-09-21-19-02-48 d7ef20ec-3cc8-40ca-b7cc-9833d5d2359a", "path_display": "/test/2021-09-21-19-02-48 d7ef20ec-3cc8-40ca-b7cc-9833d5d2359a", "id": "id:UhiqWUVtd8AAAAAAAAFDfQ"}, {".tag": "folder", "name": "2021-09-21-19-02-52 a78f1614-b6b6-4b20-a220-b349e6c213bb", "path_lower": "/test/2021-09-21-19-02-52 a78f1614-b6b6-4b20-a220-b349e6c213bb", "path_display": "/test/2021-09-21-19-02-52 a78f1614-b6b6-4b20-a220-b349e6c213bb", "id": "id:UhiqWUVtd8AAAAAAAAFDgA"}, {".tag": "folder", "name": "2021-09-21-19-02-56 36f41e7a-0494-4aed-b285-564be2958893", "path_lower": "/test/2021-09-21-19-02-56 36f41e7a-0494-4aed-b285-564be2958893", "path_display": "/test/2021-09-21-19-02-56 36f41e7a-0494-4aed-b285-564be2958893", "id": "id:UhiqWUVtd8AAAAAAAAFDgw"}, {".tag": "folder", "name": "2021-09-21-19-23-57 85eeb4d9-8e3e-4fdd-906f-466667065914", "path_lower": "/test/2021-09-21-19-23-57 85eeb4d9-8e3e-4fdd-906f-466667065914", "path_display": "/test/2021-09-21-19-23-57 85eeb4d9-8e3e-4fdd-906f-466667065914", "id": "id:UhiqWUVtd8AAAAAAAAFDhg"}, {".tag": "folder", "name": "2021-09-21-19-24-01 36775e16-4f34-453f-ad95-dd8074f9b5a6", "path_lower": "/test/2021-09-21-19-24-01 36775e16-4f34-453f-ad95-dd8074f9b5a6", "path_display": "/test/2021-09-21-19-24-01 36775e16-4f34-453f-ad95-dd8074f9b5a6", "id": "id:UhiqWUVtd8AAAAAAAAFDiQ"}, {".tag": "folder", "name": "2021-09-21-19-24-04 de4d2569-c34c-4bb2-ac80-d569a4d63e69", "path_lower": "/test/2021-09-21-19-24-04 de4d2569-c34c-4bb2-ac80-d569a4d63e69", "path_display": "/test/2021-09-21-19-24-04 de4d2569-c34c-4bb2-ac80-d569a4d63e69", "id": "id:UhiqWUVtd8AAAAAAAAFDjA"}], "cursor": "AAGLgICw6udJnJzwIWWABlHnoUfx20pa5ekUqXjBX8-ZUgzUpvHx_Y3BkyEJgv4zRi-ydaGsCmrWDnhW-HTopwm0R6AdLPA2NO7xhXl1GGSBFlUwJuTvPWaK9bQwm2wUbxWlZ8mUnmOtrqWBmOph4t2_6crLVMp0M2tljPw4lfV-l_TKkWAT2auZTMsKZQz9oPMS0fMgkoeD0BxxowXZiBxT", "has_more": true}
    >>> {"cursor":"AAGLgICw6udJnJzwIWWABlHnoUfx20pa5ekUqXjBX8-ZUgzUpvHx_Y3BkyEJgv4zRi-ydaGsCmrWDnhW-HTopwm0R6AdLPA2NO7xhXl1GGSBFlUwJuTvPWaK9bQwm2wUbxWlZ8mUnmOtrqWBmOph4t2_6crLVMp0M2tljPw4lfV-l_TKkWAT2auZTMsKZQz9oPMS0fMgkoeD0BxxowXZiBxT"}
    <<< {"entries": [{".tag": "folder", "name": "2022-06-24-12-17-18 420c25d5-daf2-4a45-8f88-7f2d976e7d38", "path_lower": "/test/2022-06-24-12-17-18 420c25d5-daf2-4a45-8f88-7f2d976e7d38", "path_display": "/test/2022-06-24-12-17-18 420c25d5-daf2-4a45-8f88-7f2d976e7d38", "id": "id:UhiqWUVtd8AAAAAAAAGASw"}], "cursor": "AAHoWvarH9FT_qP13kbls8N5JivveaKpXsgy1iiUHE7uCU-TbQ4kzAsBuSfxJiFwWUgrcrzqO6JdsgP37xHFcjOSK6BCXzVKwA_yCrJNdbBLdyqqMxA3CWdafVXWw2Y9cHynZIqtE8px6Ac9H7n5SyTlkSTbCcoXXBGSkXVOHaea5qhMuuTIDxZH569xBE8pGb4cby3ivEBWaeAg4twjzOF6", "has_more": true}
    >>> {"cursor":"AAHoWvarH9FT_qP13kbls8N5JivveaKpXsgy1iiUHE7uCU-TbQ4kzAsBuSfxJiFwWUgrcrzqO6JdsgP37xHFcjOSK6BCXzVKwA_yCrJNdbBLdyqqMxA3CWdafVXWw2Y9cHynZIqtE8px6Ac9H7n5SyTlkSTbCcoXXBGSkXVOHaea5qhMuuTIDxZH569xBE8pGb4cby3ivEBWaeAg4twjzOF6"}
    <<< {"entries": [{".tag": "folder", "name": "2022-07-26-11-34-55 b7c35f26-eaf5-42a8-ad84-5e462048214e", "path_lower": "/test/2022-07-26-11-34-55 b7c35f26-eaf5-42a8-ad84-5e462048214e", "path_display": "/test/2022-07-26-11-34-55 b7c35f26-eaf5-42a8-ad84-5e462048214e", "id": "id:UhiqWUVtd8AAAAAAAAGE4w"}], "cursor": "AAH6cM0CbGdhehjSQCPNuv6x75v2of3OyPajqpkVugM-KPimUuGTLi0T7x1Y4WMymHEHbUPlI0byL0pD6_aelAtKeuMjyfdCrMnLR8a_Pju_8sddYXORbiFg3cWv5-u8rusPgC40M4ITNb5iWi4xX6q-mVWDVUVxzQkXLsCADb9Tb6zEl6rSlOqFPBkPLNC58nLQj2RX6Ng_W5Ds8ubCdBpF", "has_more": true}
    >>> {"cursor":"AAH6cM0CbGdhehjSQCPNuv6x75v2of3OyPajqpkVugM-KPimUuGTLi0T7x1Y4WMymHEHbUPlI0byL0pD6_aelAtKeuMjyfdCrMnLR8a_Pju_8sddYXORbiFg3cWv5-u8rusPgC40M4ITNb5iWi4xX6q-mVWDVUVxzQkXLsCADb9Tb6zEl6rSlOqFPBkPLNC58nLQj2RX6Ng_W5Ds8ubCdBpF"}
    <<< {"entries": [{".tag": "folder", "name": "2022-08-10-13-47-42 0da6e085-8c11-4a29-8f02-320c05fe1eae", "path_lower": "/test/2022-08-10-13-47-42 0da6e085-8c11-4a29-8f02-320c05fe1eae", "path_display": "/test/2022-08-10-13-47-42 0da6e085-8c11-4a29-8f02-320c05fe1eae", "id": "id:UhiqWUVtd8AAAAAAAAGJyQ"}], "cursor": "AAH9MgA2ojI18LszK_qJwLj7uioy0wWHMrcrP9y1FVuCIB0-PbHRz-Wt9c0Ob6odEMNi2VjvK-MNTA5AMR7JmCdrcn7w3i9R5rgLt8_q6xmyKXcqGzQQ4Ji4iO_qvetQOfxe_A-D6VLpeome7XOm7CJRYqi58fMDed8SYkZ4uErFL-UnD_3IBV2cDv_6yYW6qgKzvME_w4YVR9GIv8VbJFbC", "has_more": true}
    >>> {"cursor":"AAH9MgA2ojI18LszK_qJwLj7uioy0wWHMrcrP9y1FVuCIB0-PbHRz-Wt9c0Ob6odEMNi2VjvK-MNTA5AMR7JmCdrcn7w3i9R5rgLt8_q6xmyKXcqGzQQ4Ji4iO_qvetQOfxe_A-D6VLpeome7XOm7CJRYqi58fMDed8SYkZ4uErFL-UnD_3IBV2cDv_6yYW6qgKzvME_w4YVR9GIv8VbJFbC"}
    <<< {"entries": [{".tag": "folder", "name": "2022-10-18-08-46-44 46259cc9-6545-449c-a384-8821f242931f", "path_lower": "/test/2022-10-18-08-46-44 46259cc9-6545-449c-a384-8821f242931f", "path_display": "/test/2022-10-18-08-46-44 46259cc9-6545-449c-a384-8821f242931f", "id": "id:UhiqWUVtd8AAAAAAAAGUrg"}], "cursor": "AAFBmUjadYQc_MnNTAzvMeFv8GUlr89gNHon5bdD11R_JsJWiZ0vDxirAbkfbVD7rlny70AEO73TEjjtJjA5Bc1mfNY_jWTLRCfxY9dC5nSOnUEpm-aTiXUP30tQ3Ph3slcbNl_keplRCV03N0cdSPsWqTND-ZSpv-87iJgj0WCA3sHpLk1tpNNGCeO0HJLq1MJ594t9tDfS6aWJo3z3l-MD", "has_more": true}
    >>> {"cursor":"AAFBmUjadYQc_MnNTAzvMeFv8GUlr89gNHon5bdD11R_JsJWiZ0vDxirAbkfbVD7rlny70AEO73TEjjtJjA5Bc1mfNY_jWTLRCfxY9dC5nSOnUEpm-aTiXUP30tQ3Ph3slcbNl_keplRCV03N0cdSPsWqTND-ZSpv-87iJgj0WCA3sHpLk1tpNNGCeO0HJLq1MJ594t9tDfS6aWJo3z3l-MD"}
    <<< {"entries": [{".tag": "folder", "name": "2022-11-23-15-06-43 50e360cb-de7b-4627-9b44-7340158ce79d", "path_lower": "/test/2022-11-23-15-06-43 50e360cb-de7b-4627-9b44-7340158ce79d", "path_display": "/test/2022-11-23-15-06-43 50e360cb-de7b-4627-9b44-7340158ce79d", "id": "id:UhiqWUVtd8AAAAAAAAGf7g"}, {".tag": "folder", "name": "2022-11-24-06-52-13 72e1a35c-95fb-400c-a5b5-b06072c1c9f0", "path_lower": "/test/2022-11-24-06-52-13 72e1a35c-95fb-400c-a5b5-b06072c1c9f0", "path_display": "/test/2022-11-24-06-52-13 72e1a35c-95fb-400c-a5b5-b06072c1c9f0", "id": "id:UhiqWUVtd8AAAAAAAAGgHg"}, {".tag": "folder", "name": "2022-11-24-06-52-19 7697380a-fb06-4712-aa07-73e47c705380", "path_lower": "/test/2022-11-24-06-52-19 7697380a-fb06-4712-aa07-73e47c705380", "path_display": "/test/2022-11-24-06-52-19 7697380a-fb06-4712-aa07-73e47c705380", "id": "id:UhiqWUVtd8AAAAAAAAGgIQ"}, {".tag": "folder", "name": "2022-11-24-06-52-23 b745bbcc-f6d8-4355-9112-b024e079b197", "path_lower": "/test/2022-11-24-06-52-23 b745bbcc-f6d8-4355-9112-b024e079b197", "path_display": "/test/2022-11-24-06-52-23 b745bbcc-f6d8-4355-9112-b024e079b197", "id": "id:UhiqWUVtd8AAAAAAAAGgJA"}, {".tag": "folder", "name": "2022-11-24-07-54-41 63c7f270-cbc3-4019-83cc-08eff2e345ab", "path_lower": "/test/2022-11-24-07-54-41 63c7f270-cbc3-4019-83cc-08eff2e345ab", "path_display": "/test/2022-11-24-07-54-41 63c7f270-cbc3-4019-83cc-08eff2e345ab", "id": "id:UhiqWUVtd8AAAAAAAAGgJw"}, {".tag": "folder", "name": "2022-11-24-07-54-46 273e14b5-b49f-4cd7-8cc6-1d6b7907ee1f", "path_lower": "/test/2022-11-24-07-54-46 273e14b5-b49f-4cd7-8cc6-1d6b7907ee1f", "path_display": "/test/2022-11-24-07-54-46 273e14b5-b49f-4cd7-8cc6-1d6b7907ee1f", "id": "id:UhiqWUVtd8AAAAAAAAGgKg"}, {".tag": "folder", "name": "2022-11-24-07-54-51 7ad21d6a-5032-4e13-9749-4b093e356862", "path_lower": "/test/2022-11-24-07-54-51 7ad21d6a-5032-4e13-9749-4b093e356862", "path_display": "/test/2022-11-24-07-54-51 7ad21d6a-5032-4e13-9749-4b093e356862", "id": "id:UhiqWUVtd8AAAAAAAAGgLQ"}, {".tag": "folder", "name": "2022-11-24-07-50-15 59b51ef1-1fec-4eb4-bf5f-f8b264dcb7f9", "path_lower": "/test/2022-11-24-07-50-15 59b51ef1-1fec-4eb4-bf5f-f8b264dcb7f9", "path_display": "/test/2022-11-24-07-50-15 59b51ef1-1fec-4eb4-bf5f-f8b264dcb7f9", "id": "id:UhiqWUVtd8AAAAAAAAGgMA"}, {".tag": "folder", "name": "2022-11-24-07-50-21 58d279d9-1c4d-44fe-a79e-4b84f18eb5cf", "path_lower": "/test/2022-11-24-07-50-21 58d279d9-1c4d-44fe-a79e-4b84f18eb5cf", "path_display": "/test/2022-11-24-07-50-21 58d279d9-1c4d-44fe-a79e-4b84f18eb5cf", "id": "id:UhiqWUVtd8AAAAAAAAGgMw"}, {".tag": "folder", "name": "2022-11-24-07-50-25 8429b977-7f36-48c4-88fa-e5decd10b446", "path_lower": "/test/2022-11-24-07-50-25 8429b977-7f36-48c4-88fa-e5decd10b446", "path_display": "/test/2022-11-24-07-50-25 8429b977-7f36-48c4-88fa-e5decd10b446", "id": "id:UhiqWUVtd8AAAAAAAAGgNg"}, {".tag": "folder", "name": "2022-11-24-08-52-50 dfafbc47-322e-4a5b-9eff-668ac398478a", "path_lower": "/test/2022-11-24-08-52-50 dfafbc47-322e-4a5b-9eff-668ac398478a", "path_display": "/test/2022-11-24-08-52-50 dfafbc47-322e-4a5b-9eff-668ac398478a", "id": "id:UhiqWUVtd8AAAAAAAAGgOQ"}, {".tag": "folder", "name": "2022-11-24-08-52-56 eef91d53-2cbb-4bed-bc21-ce5000196dd9", "path_lower": "/test/2022-11-24-08-52-56 eef91d53-2cbb-4bed-bc21-ce5000196dd9", "path_display": "/test/2022-11-24-08-52-56 eef91d53-2cbb-4bed-bc21-ce5000196dd9", "id": "id:UhiqWUVtd8AAAAAAAAGgPA"}, {".tag": "folder", "name": "2022-11-24-08-53-00 92c84afa-649c-4269-9bb6-0a47874b5bb1", "path_lower": "/test/2022-11-24-08-53-00 92c84afa-649c-4269-9bb6-0a47874b5bb1", "path_display": "/test/2022-11-24-08-53-00 92c84afa-649c-4269-9bb6-0a47874b5bb1", "id": "id:UhiqWUVtd8AAAAAAAAGgPw"}, {".tag": "folder", "name": "2022-11-24-08-31-15 4cdea28c-b273-4c31-9388-5e5c95437129", "path_lower": "/test/2022-11-24-08-31-15 4cdea28c-b273-4c31-9388-5e5c95437129", "path_display": "/test/2022-11-24-08-31-15 4cdea28c-b273-4c31-9388-5e5c95437129", "id": "id:UhiqWUVtd8AAAAAAAAGgQg"}, {".tag": "folder", "name": "2022-11-24-08-31-22 f94df1ff-c6d5-40d1-a208-30d88b83cd05", "path_lower": "/test/2022-11-24-08-31-22 f94df1ff-c6d5-40d1-a208-30d88b83cd05", "path_display": "/test/2022-11-24-08-31-22 f94df1ff-c6d5-40d1-a208-30d88b83cd05", "id": "id:UhiqWUVtd8AAAAAAAAGgRQ"}, {".tag": "folder", "name": "2022-11-24-08-31-26 169f1de0-27ca-4cfa-9f22-15433be6a006", "path_lower": "/test/2022-11-24-08-31-26 169f1de0-27ca-4cfa-9f22-15433be6a006", "path_display": "/test/2022-11-24-08-31-26 169f1de0-27ca-4cfa-9f22-15433be6a006", "id": "id:UhiqWUVtd8AAAAAAAAGgSA"}, {".tag": "folder", "name": "2022-11-24-09-34-21 fd5345e3-2064-4429-b8cd-ef4506d09c94", "path_lower": "/test/2022-11-24-09-34-21 fd5345e3-2064-4429-b8cd-ef4506d09c94", "path_display": "/test/2022-11-24-09-34-21 fd5345e3-2064-4429-b8cd-ef4506d09c94", "id": "id:UhiqWUVtd8AAAAAAAAGgSw"}, {".tag": "folder", "name": "2022-11-24-09-34-27 0caf0151-9c46-4527-8dd1-1c11fe9e862d", "path_lower": "/test/2022-11-24-09-34-27 0caf0151-9c46-4527-8dd1-1c11fe9e862d", "path_display": "/test/2022-11-24-09-34-27 0caf0151-9c46-4527-8dd1-1c11fe9e862d", "id": "id:UhiqWUVtd8AAAAAAAAGgTg"}, {".tag": "folder", "name": "2022-11-24-08-34-29 00761549-4fe0-4762-9ffe-2ee88c28b363", "path_lower": "/test/2022-11-24-08-34-29 00761549-4fe0-4762-9ffe-2ee88c28b363", "path_display": "/test/2022-11-24-08-34-29 00761549-4fe0-4762-9ffe-2ee88c28b363", "id": "id:UhiqWUVtd8AAAAAAAAGgUQ"}, {".tag": "folder", "name": "2022-11-24-09-34-32 b21f6bc7-0435-4742-8411-568c783c1e51", "path_lower": "/test/2022-11-24-09-34-32 b21f6bc7-0435-4742-8411-568c783c1e51", "path_display": "/test/2022-11-24-09-34-32 b21f6bc7-0435-4742-8411-568c783c1e51", "id": "id:UhiqWUVtd8AAAAAAAAGgVA"}, {".tag": "folder", "name": "2022-11-24-08-34-35 04fa72a5-afbe-4382-9e40-0207bdbfdb87", "path_lower": "/test/2022-11-24-08-34-35 04fa72a5-afbe-4382-9e40-0207bdbfdb87", "path_display": "/test/2022-11-24-08-34-35 04fa72a5-afbe-4382-9e40-0207bdbfdb87", "id": "id:UhiqWUVtd8AAAAAAAAGgVw"}, {".tag": "folder", "name": "2022-11-24-08-34-40 b7774750-97f3-41ac-92b7-7631a7910e36", "path_lower": "/test/2022-11-24-08-34-40 b7774750-97f3-41ac-92b7-7631a7910e36", "path_display": "/test/2022-11-24-08-34-40 b7774750-97f3-41ac-92b7-7631a7910e36", "id": "id:UhiqWUVtd8AAAAAAAAGgWg"}, {".tag": "folder", "name": "2022-11-24-09-37-29 e3e2b6ea-2638-4698-8588-c19ba27e6ede", "path_lower": "/test/2022-11-24-09-37-29 e3e2b6ea-2638-4698-8588-c19ba27e6ede", "path_display": "/test/2022-11-24-09-37-29 e3e2b6ea-2638-4698-8588-c19ba27e6ede", "id": "id:UhiqWUVtd8AAAAAAAAGgXQ"}, {".tag": "folder", "name": "2022-11-24-09-37-35 33a1bfbc-3509-4a8d-9e91-4c2e81fd2df9", "path_lower": "/test/2022-11-24-09-37-35 33a1bfbc-3509-4a8d-9e91-4c2e81fd2df9", "path_display": "/test/2022-11-24-09-37-35 33a1bfbc-3509-4a8d-9e91-4c2e81fd2df9", "id": "id:UhiqWUVtd8AAAAAAAAGgYA"}, {".tag": "folder", "name": "2022-11-24-09-37-41 702d31da-2ea4-4a21-b02f-e119b3a9775d", "path_lower": "/test/2022-11-24-09-37-41 702d31da-2ea4-4a21-b02f-e119b3a9775d", "path_display": "/test/2022-11-24-09-37-41 702d31da-2ea4-4a21-b02f-e119b3a9775d", "id": "id:UhiqWUVtd8AAAAAAAAGgYw"}], "cursor": "AAG9jrTYfuJ5CKtZcDNgry8RyrCy85fdtD0JBZYLaiKKFD1agJgXHwAyayh0Se0zVIuYYQr95YmmZIvGj9GgH0tZ6VoKhewfzz1fObQ3wKw8ww-ujZqXtSSEPiwA2HepQUbZC22QsWVSW2DbzBDYEtDuudcs26H-BGZlaOMD7xMU11KqT_fwxaWLy5JtcDt3PQ7j7nJ5IYqjuoGig7p_ujZl", "has_more": true}
    >>> {"cursor":"AAG9jrTYfuJ5CKtZcDNgry8RyrCy85fdtD0JBZYLaiKKFD1agJgXHwAyayh0Se0zVIuYYQr95YmmZIvGj9GgH0tZ6VoKhewfzz1fObQ3wKw8ww-ujZqXtSSEPiwA2HepQUbZC22QsWVSW2DbzBDYEtDuudcs26H-BGZlaOMD7xMU11KqT_fwxaWLy5JtcDt3PQ7j7nJ5IYqjuoGig7p_ujZl"}
    <<< {"entries": [{".tag": "folder", "name": "2022-11-24-12-44-37 3a200d78-2539-4e4f-b275-fa7b187d8caf", "path_lower": "/test/2022-11-24-12-44-37 3a200d78-2539-4e4f-b275-fa7b187d8caf", "path_display": "/test/2022-11-24-12-44-37 3a200d78-2539-4e4f-b275-fa7b187d8caf", "id": "id:UhiqWUVtd8AAAAAAAAGgig"}, {".tag": "folder", "name": "2022-11-25-12-30-24 f12fc5f4-1dc3-4092-b7d1-f727cb4388c9", "path_lower": "/test/2022-11-25-12-30-24 f12fc5f4-1dc3-4092-b7d1-f727cb4388c9", "path_display": "/test/2022-11-25-12-30-24 f12fc5f4-1dc3-4092-b7d1-f727cb4388c9", "id": "id:UhiqWUVtd8AAAAAAAAGhbg"}, {".tag": "folder", "name": "2022-11-25-12-31-00 1e50f1c0-9d69-4440-8749-8290229828fc", "path_lower": "/test/2022-11-25-12-31-00 1e50f1c0-9d69-4440-8749-8290229828fc", "path_display": "/test/2022-11-25-12-31-00 1e50f1c0-9d69-4440-8749-8290229828fc", "id": "id:UhiqWUVtd8AAAAAAAAGhcQ"}, {".tag": "folder", "name": "2022-11-25-13-38-51 b78eff5d-7d47-492e-bfaf-a3fbe0eed3bc", "path_lower": "/test/2022-11-25-13-38-51 b78eff5d-7d47-492e-bfaf-a3fbe0eed3bc", "path_display": "/test/2022-11-25-13-38-51 b78eff5d-7d47-492e-bfaf-a3fbe0eed3bc", "id": "id:UhiqWUVtd8AAAAAAAAGhjw"}, {".tag": "folder", "name": "2022-11-25-13-41-12 2eb0b283-c81f-49d6-bd50-71bb580b1911", "path_lower": "/test/2022-11-25-13-41-12 2eb0b283-c81f-49d6-bd50-71bb580b1911", "path_display": "/test/2022-11-25-13-41-12 2eb0b283-c81f-49d6-bd50-71bb580b1911", "id": "id:UhiqWUVtd8AAAAAAAAGhkg"}, {".tag": "folder", "name": "2022-11-25-13-41-52 c4499a62-1768-4954-80b1-de891794a20f", "path_lower": "/test/2022-11-25-13-41-52 c4499a62-1768-4954-80b1-de891794a20f", "path_display": "/test/2022-11-25-13-41-52 c4499a62-1768-4954-80b1-de891794a20f", "id": "id:UhiqWUVtd8AAAAAAAAGhlQ"}, {".tag": "folder", "name": "2022-11-25-13-42-56 c7d913b1-496b-4072-8cc4-1c2f2e3bdb05", "path_lower": "/test/2022-11-25-13-42-56 c7d913b1-496b-4072-8cc4-1c2f2e3bdb05", "path_display": "/test/2022-11-25-13-42-56 c7d913b1-496b-4072-8cc4-1c2f2e3bdb05", "id": "id:UhiqWUVtd8AAAAAAAAGhmA"}], "cursor": "AAGmaZLashey-WU8HQ9czOJastcCmM45E3KvS3SXWKgGyuhgqBTjpY-HHnolyg_PE5EufvkzIgC4SKizXMROY62nslhMN-lTsKLQTS7gMyE8NAktJsGTLNZYfxyoAXuFwbrgWUBWnq_mWDkEoomejSgTN_YlBWr9C4N_v7_y2CuXmcv35rcJkzQBx5JnhS67KHpSrFziqLXv_h2ieZbKhoR3", "has_more": true}
    >>> {"cursor":"AAGmaZLashey-WU8HQ9czOJastcCmM45E3KvS3SXWKgGyuhgqBTjpY-HHnolyg_PE5EufvkzIgC4SKizXMROY62nslhMN-lTsKLQTS7gMyE8NAktJsGTLNZYfxyoAXuFwbrgWUBWnq_mWDkEoomejSgTN_YlBWr9C4N_v7_y2CuXmcv35rcJkzQBx5JnhS67KHpSrFziqLXv_h2ieZbKhoR3"}
    <<< Error in call to API function "files/list_folder/continue": Error while authenticating request
    
    Unhandled Exception: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: E. Path '', line 0, position 0.
       at Newtonsoft.Json.JsonTextReader.ParseValue()
       at Newtonsoft.Json.JsonTextReader.Read()
       at Dropbox.Api.Stone.JsonReader.Read[T](String json, IDecoder`1 decoder)
       at Dropbox.Api.StructuredException`1.Decode[TException](String json, IDecoder`1 errorDecoder, Func`1 exceptionFunc)
       at Dropbox.Api.DropboxRequestHandler.<RequestJsonString>d__20.MoveNext()

    As you can see, sometimes DropBox servers respond with:

    Error in call to API function "files/list_folder/continue": Error while authenticating request

  • setycz's avatar
    setycz
    Explorer | Level 3

    This is the sample code:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Net;
    using System.Net.Http;
    using System.Threading;
    using System.Threading.Tasks;
    using Dropbox.Api;
    using Dropbox.Api.Team;
    
    namespace DropBoxConnectorSample
    {
        internal class Program
        {
            private sealed class CustomWebRequestHandler : WebRequestHandler
            {
                protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request,
                    CancellationToken cancellationToken)
                {
                    var requestBody = await request.Content.ReadAsStringAsync();
                    Console.WriteLine(">>> " + requestBody);
    
                    var result = await base.SendAsync(request, cancellationToken);
    
                    var resultBody = await result.Content.ReadAsStringAsync();
                    Console.WriteLine("<<< " + resultBody);
    
                    return result;
                }
            }
    
            private HttpClient CreateHttpClient()
            {
                var handler = new CustomWebRequestHandler
                {
                    ReadWriteTimeout = 10 * 1000
                };
                if (handler.SupportsAutomaticDecompression)
                    handler.AutomaticDecompression = DecompressionMethods.Deflate
                                                     | DecompressionMethods.GZip;
    
                return new HttpClient(handler) { Timeout = TimeSpan.FromHours(24) };
            }
    
            private DropboxTeamClient CreateTeamClientAsync()
            {
                var httpClient = CreateHttpClient();
                const int retryCount = 4;
                return new DropboxTeamClient("YOUR TOKEN",
                    new DropboxClientConfig(null, retryCount) { HttpClient = httpClient });
            }
    
            private async Task<string> FindMemberIdAsync(DropboxTeamClient client)
            {
                var criterium = new UserSelectorArg.Email("YOUR EMAIL");
                var memberInfo = await client.Team.MembersGetInfoAsync(new[] { criterium }).ConfigureAwait(false);
                var id = memberInfo.FirstOrDefault()?.AsMemberInfo?.Value?.Profile?.TeamMemberId;
                if (id == null) throw new InvalidOperationException("Could not find a dropbox user.");
    
                return id;
            }
    
            private async Task<DropboxClient> CreateClientAsync()
            {
                var teamClient = CreateTeamClientAsync();
                var memberId = await FindMemberIdAsync(teamClient).ConfigureAwait(false);
                return teamClient.AsMember(memberId);
            }
    
            public async Task<IEnumerable<string>> ListFoldersAsync(string relativePath)
            {
                var client = await CreateClientAsync().ConfigureAwait(false);
    
                var folders = await client.Files.ListFolderAsync(relativePath).ConfigureAwait(false);
                var result = folders.Entries.Where(e => e.IsFolder).Select(e => e.AsFolder.Name).ToList();
                while (folders.HasMore)
                {
                    folders = await client.Files.ListFolderContinueAsync(folders.Cursor).ConfigureAwait(false);
                    result.AddRange(folders.Entries.Where(e => e.IsFolder).Select(e => e.AsFolder.Name));
                }
    
                return result;
            }
    
            private static async Task Main(string[] args)
            {
                while (true)
                {
                    var p = new Program();
                    var result = await p.ListFoldersAsync("/Test");
                    Console.WriteLine("END: " + string.Join(", ", result));
                }
            }
        }
    }

    As you can see I hame managed to get the actual communication with DropBox servers dumped. And this is the output when the error occures:

    >>> {"members":[{".tag":"email","email":"CENSORED"}]}
    <<< [{".tag": "member_info", "profile": "CENSORED", "role": {".tag": "team_admin"}}]
    >>> {"path":"/Test","recursive":false,"include_media_info":false,"include_deleted":false,"include_has_explicit_shared_members":false,"include_mounted_folders":true,"include_non_downloadable_files":true}
    <<< {"entries": [{".tag": "folder", "name": "apa", "path_lower": "/test/apa", "path_display": "/test/apa", "id": "id:UhiqWUVtd8AAAAAAAAAAow"}, {".tag": "folder", "name": "automated", "path_lower": "/test/automated", "path_display": "/test/automated", "id": "id:UhiqWUVtd8AAAAAAAAAAIQ"}, {".tag": "folder", "name": "browsing tests", "path_lower": "/test/browsing tests", "path_display": "/test/browsing tests", "id": "id:UhiqWUVtd8AAAAAAAAAsew"}, {".tag": "folder", "name": "css", "path_lower": "/test/css", "path_display": "/test/css", "id": "id:UhiqWUVtd8AAAAAAAAAAIA"}, {".tag": "folder", "name": "integration", "path_lower": "/test/integration", "path_display": "/test/integration", "id": "id:UhiqWUVtd8AAAAAAAAAAHg"}, {".tag": "folder", "name": "Integration C#", "path_lower": "/test/integration c#", "path_display": "/test/Integration C#", "id": "id:UhiqWUVtd8AAAAAAAAAEZw"}, {".tag": "folder", "name": "mock", "path_lower": "/test/mock", "path_display": "/test/mock", "id": "id:UhiqWUVtd8AAAAAAAAAAHQ"}, {".tag": "folder", "name": "regression", "path_lower": "/test/regression", "path_display": "/test/regression", "id": "id:UhiqWUVtd8AAAAAAAAAAHw"}, {".tag": "file", "name": "final destination.pdf", "path_lower": "/test/final destination.pdf", "path_display": "/test/final destination.pdf", "id": "id:UhiqWUVtd8AAAAAAAAAc7g", "client_modified": "2016-11-29T15:22:17Z", "server_modified": "2017-02-14T09:44:51Z", "rev": "604340e409a1", "size": 808635, "is_downloadable": true, "content_hash": "78e2ad053ee6a7ead2d1afa12d49f5341daa02e744fdd4b0ccf4bbd376e1e646"}], "cursor": "AAE7WqHRPGfpkYDfpmNv9eFrDHK22RuktQCvQU7QdotyU5dFr4p1F9114G_T6S7VLeFpXK1KRZ1WPiy0FWGjC6LnCeOgOkKLr6dhZJYLw42kDGzbNYy5GAyArF4rRTNaykokwNDXvCr6w7HFvV25JOZTGTpHcmkGqEW49FpQ0KKXjIAa7dbihn33HSKJh-Z7EyHMLdMlk-k71mWZFJ_wjbzY", "has_more": true}
    >>> {"cursor":"AAE7WqHRPGfpkYDfpmNv9eFrDHK22RuktQCvQU7QdotyU5dFr4p1F9114G_T6S7VLeFpXK1KRZ1WPiy0FWGjC6LnCeOgOkKLr6dhZJYLw42kDGzbNYy5GAyArF4rRTNaykokwNDXvCr6w7HFvV25JOZTGTpHcmkGqEW49FpQ0KKXjIAa7dbihn33HSKJh-Z7EyHMLdMlk-k71mWZFJ_wjbzY"}
    <<< {"entries": [{".tag": "folder", "name": "2020-02-03-13-58-30 af2d9bf4-6dad-445d-a854-9efe17c8b69f", "path_lower": "/test/2020-02-03-13-58-30 af2d9bf4-6dad-445d-a854-9efe17c8b69f", "path_display": "/test/2020-02-03-13-58-30 af2d9bf4-6dad-445d-a854-9efe17c8b69f", "id": "id:UhiqWUVtd8AAAAAAAADevg"}], "cursor": "AAHlUmw4yKxyXWohYfSWAO1Xy9p6CztFJ4pgiponYaEodX1b0V-drgh9ghcbdMensf8h3QlUlAvBSSYtitIS6SSHKAT57IyRhXp0cDv4Blxop0YiL9XS3gllpOXvgdBaiCdBDK4HHK0Zu4Raew5W2LaNmzTnmBwX1WQWK0j5J44lCq8jRDeLA7K9MBhsdgRgRzVe7hgviq2SoGDWdKaFpUCw", "has_more": true}
    >>> {"cursor":"AAHlUmw4yKxyXWohYfSWAO1Xy9p6CztFJ4pgiponYaEodX1b0V-drgh9ghcbdMensf8h3QlUlAvBSSYtitIS6SSHKAT57IyRhXp0cDv4Blxop0YiL9XS3gllpOXvgdBaiCdBDK4HHK0Zu4Raew5W2LaNmzTnmBwX1WQWK0j5J44lCq8jRDeLA7K9MBhsdgRgRzVe7hgviq2SoGDWdKaFpUCw"}
    <<< {"entries": [{".tag": "folder", "name": "2020-11-27-16-21-20 a6e9d1e4-a608-4cec-b314-1379a62be093", "path_lower": "/test/2020-11-27-16-21-20 a6e9d1e4-a608-4cec-b314-1379a62be093", "path_display": "/test/2020-11-27-16-21-20 a6e9d1e4-a608-4cec-b314-1379a62be093", "id": "id:UhiqWUVtd8AAAAAAAAEPMQ"}], "cursor": "AAHX77IND0uXsmiEDSsihFzM-8WlbvAjfWRnjYlp7_AcwHb9lrmb3LJzIyB294rxJpaoYytsrkjF6XApgKqpe4CRpBLx-Ugh4HMJlSOEi6BuB2e0NSRihdlY-RMdKsIfLUPGnYma5XBKaEElaKEgvmnWwhIOWQbayG09_YV7y8OX1J6wXcO0bA__4HlXcU-YZcPX314DM1h__f5TED6XW-O2", "has_more": true}
    >>> {"cursor":"AAHX77IND0uXsmiEDSsihFzM-8WlbvAjfWRnjYlp7_AcwHb9lrmb3LJzIyB294rxJpaoYytsrkjF6XApgKqpe4CRpBLx-Ugh4HMJlSOEi6BuB2e0NSRihdlY-RMdKsIfLUPGnYma5XBKaEElaKEgvmnWwhIOWQbayG09_YV7y8OX1J6wXcO0bA__4HlXcU-YZcPX314DM1h__f5TED6XW-O2"}
    <<< {"entries": [{".tag": "folder", "name": "2020-12-16-10-22-43 f48f5d15-1bb1-477a-b7d1-05d0c89bc365", "path_lower": "/test/2020-12-16-10-22-43 f48f5d15-1bb1-477a-b7d1-05d0c89bc365", "path_display": "/test/2020-12-16-10-22-43 f48f5d15-1bb1-477a-b7d1-05d0c89bc365", "id": "id:UhiqWUVtd8AAAAAAAAEUpA"}], "cursor": "AAErEA91qSXw7BidaVIh4yzaxBOX1-ScB-r_s4mdaKme1FCtpNf3k6xgwYH_IdH42AMI-DDmgxGujEQrqVvyMeLv-R3sJU_-LxULiPfbI0LpMk1rmvpQp0Vx3rdvmh5eOvk4_Ghlw7pGPlTTHc-N1zQWm9il1DecdXXaguBJBwVlviJwqvapkCE401xq8qvymtVLGt49yqqXQjifPXGG0Maj", "has_more": true}
    >>> {"cursor":"AAErEA91qSXw7BidaVIh4yzaxBOX1-ScB-r_s4mdaKme1FCtpNf3k6xgwYH_IdH42AMI-DDmgxGujEQrqVvyMeLv-R3sJU_-LxULiPfbI0LpMk1rmvpQp0Vx3rdvmh5eOvk4_Ghlw7pGPlTTHc-N1zQWm9il1DecdXXaguBJBwVlviJwqvapkCE401xq8qvymtVLGt49yqqXQjifPXGG0Maj"}
    <<< {"entries": [{".tag": "folder", "name": "2021-06-16-16-11-26 a6dd8ac9-c658-4870-8a78-2cdf734e8e14", "path_lower": "/test/2021-06-16-16-11-26 a6dd8ac9-c658-4870-8a78-2cdf734e8e14", "path_display": "/test/2021-06-16-16-11-26 a6dd8ac9-c658-4870-8a78-2cdf734e8e14", "id": "id:UhiqWUVtd8AAAAAAAAEu0g"}], "cursor": "AAHHHCbjbXLDFD4Sj2CGqcSnrv33nXUBVS2yxTFJxSV_PA9fUDOjrMaE6-hmO9NzkvLNcHBwTT1CZ9Niq3pioGERCOnZ7JKvYvBE0OLLSCBDoQRJuZ06hiKGT0EmuHuX7FS3UJywDDtAFKzub7dIRyoTZp5E9yMmpL87WtafJrI8kGlau3-_sTkBGB5UUhQoOKD5hm_0zoJmci7HRPaJWn12", "has_more": true}
    >>> {"cursor":"AAHHHCbjbXLDFD4Sj2CGqcSnrv33nXUBVS2yxTFJxSV_PA9fUDOjrMaE6-hmO9NzkvLNcHBwTT1CZ9Niq3pioGERCOnZ7JKvYvBE0OLLSCBDoQRJuZ06hiKGT0EmuHuX7FS3UJywDDtAFKzub7dIRyoTZp5E9yMmpL87WtafJrI8kGlau3-_sTkBGB5UUhQoOKD5hm_0zoJmci7HRPaJWn12"}
    <<< {"entries": [{".tag": "folder", "name": "2021-09-21-12-29-02 87ed725c-e11f-4d24-a0c4-cd2b3b0ecba2", "path_lower": "/test/2021-09-21-12-29-02 87ed725c-e11f-4d24-a0c4-cd2b3b0ecba2", "path_display": "/test/2021-09-21-12-29-02 87ed725c-e11f-4d24-a0c4-cd2b3b0ecba2", "id": "id:UhiqWUVtd8AAAAAAAAFDLA"}, {".tag": "folder", "name": "2021-09-21-12-29-06 1eafae9b-83b7-44f9-a9ab-d35c647528ed", "path_lower": "/test/2021-09-21-12-29-06 1eafae9b-83b7-44f9-a9ab-d35c647528ed", "path_display": "/test/2021-09-21-12-29-06 1eafae9b-83b7-44f9-a9ab-d35c647528ed", "id": "id:UhiqWUVtd8AAAAAAAAFDLw"}, {".tag": "folder", "name": "2021-09-21-12-29-09 0b4c29e8-0762-49ea-af45-07e79d4c8457", "path_lower": "/test/2021-09-21-12-29-09 0b4c29e8-0762-49ea-af45-07e79d4c8457", "path_display": "/test/2021-09-21-12-29-09 0b4c29e8-0762-49ea-af45-07e79d4c8457", "id": "id:UhiqWUVtd8AAAAAAAAFDMg"}, {".tag": "folder", "name": "2021-09-21-13-22-16 5a854555-1c85-4ed0-9224-831c78bd8d7f", "path_lower": "/test/2021-09-21-13-22-16 5a854555-1c85-4ed0-9224-831c78bd8d7f", "path_display": "/test/2021-09-21-13-22-16 5a854555-1c85-4ed0-9224-831c78bd8d7f", "id": "id:UhiqWUVtd8AAAAAAAAFDRw"}, {".tag": "folder", "name": "2021-09-21-13-22-20 b97cddce-990d-4ad1-81d5-cb3f44e244d4", "path_lower": "/test/2021-09-21-13-22-20 b97cddce-990d-4ad1-81d5-cb3f44e244d4", "path_display": "/test/2021-09-21-13-22-20 b97cddce-990d-4ad1-81d5-cb3f44e244d4", "id": "id:UhiqWUVtd8AAAAAAAAFDSg"}, {".tag": "folder", "name": "2021-09-21-13-22-23 810cd01a-9f82-4d74-b829-f63c951a3fa5", "path_lower": "/test/2021-09-21-13-22-23 810cd01a-9f82-4d74-b829-f63c951a3fa5", "path_display": "/test/2021-09-21-13-22-23 810cd01a-9f82-4d74-b829-f63c951a3fa5", "id": "id:UhiqWUVtd8AAAAAAAAFDTQ"}, {".tag": "folder", "name": "2021-09-21-13-42-38 4c6c4930-7680-4b2b-bf9c-745761bd5c08", "path_lower": "/test/2021-09-21-13-42-38 4c6c4930-7680-4b2b-bf9c-745761bd5c08", "path_display": "/test/2021-09-21-13-42-38 4c6c4930-7680-4b2b-bf9c-745761bd5c08", "id": "id:UhiqWUVtd8AAAAAAAAFDWQ"}, {".tag": "folder", "name": "2021-09-21-13-42-42 3e748a6d-891f-4e33-8155-59ff988796e7", "path_lower": "/test/2021-09-21-13-42-42 3e748a6d-891f-4e33-8155-59ff988796e7", "path_display": "/test/2021-09-21-13-42-42 3e748a6d-891f-4e33-8155-59ff988796e7", "id": "id:UhiqWUVtd8AAAAAAAAFDXA"}, {".tag": "folder", "name": "2021-09-21-13-42-46 db0f3883-b0ab-4682-8764-4b580f7c4175", "path_lower": "/test/2021-09-21-13-42-46 db0f3883-b0ab-4682-8764-4b580f7c4175", "path_display": "/test/2021-09-21-13-42-46 db0f3883-b0ab-4682-8764-4b580f7c4175", "id": "id:UhiqWUVtd8AAAAAAAAFDXw"}, {".tag": "folder", "name": "2021-09-21-14-33-12 43263c62-2810-492e-a694-34bf49b6e2dc", "path_lower": "/test/2021-09-21-14-33-12 43263c62-2810-492e-a694-34bf49b6e2dc", "path_display": "/test/2021-09-21-14-33-12 43263c62-2810-492e-a694-34bf49b6e2dc", "id": "id:UhiqWUVtd8AAAAAAAAFDaw"}, {".tag": "folder", "name": "2021-09-21-14-33-15 f623be07-3757-48ca-90a8-2a70a87d64e9", "path_lower": "/test/2021-09-21-14-33-15 f623be07-3757-48ca-90a8-2a70a87d64e9", "path_display": "/test/2021-09-21-14-33-15 f623be07-3757-48ca-90a8-2a70a87d64e9", "id": "id:UhiqWUVtd8AAAAAAAAFDbg"}, {".tag": "folder", "name": "2021-09-21-14-33-18 60be1a6c-95ce-4daf-af49-e2263d38801a", "path_lower": "/test/2021-09-21-14-33-18 60be1a6c-95ce-4daf-af49-e2263d38801a", "path_display": "/test/2021-09-21-14-33-18 60be1a6c-95ce-4daf-af49-e2263d38801a", "id": "id:UhiqWUVtd8AAAAAAAAFDcQ"}, {".tag": "folder", "name": "2021-09-21-19-02-48 d7ef20ec-3cc8-40ca-b7cc-9833d5d2359a", "path_lower": "/test/2021-09-21-19-02-48 d7ef20ec-3cc8-40ca-b7cc-9833d5d2359a", "path_display": "/test/2021-09-21-19-02-48 d7ef20ec-3cc8-40ca-b7cc-9833d5d2359a", "id": "id:UhiqWUVtd8AAAAAAAAFDfQ"}, {".tag": "folder", "name": "2021-09-21-19-02-52 a78f1614-b6b6-4b20-a220-b349e6c213bb", "path_lower": "/test/2021-09-21-19-02-52 a78f1614-b6b6-4b20-a220-b349e6c213bb", "path_display": "/test/2021-09-21-19-02-52 a78f1614-b6b6-4b20-a220-b349e6c213bb", "id": "id:UhiqWUVtd8AAAAAAAAFDgA"}, {".tag": "folder", "name": "2021-09-21-19-02-56 36f41e7a-0494-4aed-b285-564be2958893", "path_lower": "/test/2021-09-21-19-02-56 36f41e7a-0494-4aed-b285-564be2958893", "path_display": "/test/2021-09-21-19-02-56 36f41e7a-0494-4aed-b285-564be2958893", "id": "id:UhiqWUVtd8AAAAAAAAFDgw"}, {".tag": "folder", "name": "2021-09-21-19-23-57 85eeb4d9-8e3e-4fdd-906f-466667065914", "path_lower": "/test/2021-09-21-19-23-57 85eeb4d9-8e3e-4fdd-906f-466667065914", "path_display": "/test/2021-09-21-19-23-57 85eeb4d9-8e3e-4fdd-906f-466667065914", "id": "id:UhiqWUVtd8AAAAAAAAFDhg"}, {".tag": "folder", "name": "2021-09-21-19-24-01 36775e16-4f34-453f-ad95-dd8074f9b5a6", "path_lower": "/test/2021-09-21-19-24-01 36775e16-4f34-453f-ad95-dd8074f9b5a6", "path_display": "/test/2021-09-21-19-24-01 36775e16-4f34-453f-ad95-dd8074f9b5a6", "id": "id:UhiqWUVtd8AAAAAAAAFDiQ"}, {".tag": "folder", "name": "2021-09-21-19-24-04 de4d2569-c34c-4bb2-ac80-d569a4d63e69", "path_lower": "/test/2021-09-21-19-24-04 de4d2569-c34c-4bb2-ac80-d569a4d63e69", "path_display": "/test/2021-09-21-19-24-04 de4d2569-c34c-4bb2-ac80-d569a4d63e69", "id": "id:UhiqWUVtd8AAAAAAAAFDjA"}], "cursor": "AAGLgICw6udJnJzwIWWABlHnoUfx20pa5ekUqXjBX8-ZUgzUpvHx_Y3BkyEJgv4zRi-ydaGsCmrWDnhW-HTopwm0R6AdLPA2NO7xhXl1GGSBFlUwJuTvPWaK9bQwm2wUbxWlZ8mUnmOtrqWBmOph4t2_6crLVMp0M2tljPw4lfV-l_TKkWAT2auZTMsKZQz9oPMS0fMgkoeD0BxxowXZiBxT", "has_more": true}
    >>> {"cursor":"AAGLgICw6udJnJzwIWWABlHnoUfx20pa5ekUqXjBX8-ZUgzUpvHx_Y3BkyEJgv4zRi-ydaGsCmrWDnhW-HTopwm0R6AdLPA2NO7xhXl1GGSBFlUwJuTvPWaK9bQwm2wUbxWlZ8mUnmOtrqWBmOph4t2_6crLVMp0M2tljPw4lfV-l_TKkWAT2auZTMsKZQz9oPMS0fMgkoeD0BxxowXZiBxT"}
    <<< {"entries": [{".tag": "folder", "name": "2022-06-24-12-17-18 420c25d5-daf2-4a45-8f88-7f2d976e7d38", "path_lower": "/test/2022-06-24-12-17-18 420c25d5-daf2-4a45-8f88-7f2d976e7d38", "path_display": "/test/2022-06-24-12-17-18 420c25d5-daf2-4a45-8f88-7f2d976e7d38", "id": "id:UhiqWUVtd8AAAAAAAAGASw"}], "cursor": "AAHoWvarH9FT_qP13kbls8N5JivveaKpXsgy1iiUHE7uCU-TbQ4kzAsBuSfxJiFwWUgrcrzqO6JdsgP37xHFcjOSK6BCXzVKwA_yCrJNdbBLdyqqMxA3CWdafVXWw2Y9cHynZIqtE8px6Ac9H7n5SyTlkSTbCcoXXBGSkXVOHaea5qhMuuTIDxZH569xBE8pGb4cby3ivEBWaeAg4twjzOF6", "has_more": true}
    >>> {"cursor":"AAHoWvarH9FT_qP13kbls8N5JivveaKpXsgy1iiUHE7uCU-TbQ4kzAsBuSfxJiFwWUgrcrzqO6JdsgP37xHFcjOSK6BCXzVKwA_yCrJNdbBLdyqqMxA3CWdafVXWw2Y9cHynZIqtE8px6Ac9H7n5SyTlkSTbCcoXXBGSkXVOHaea5qhMuuTIDxZH569xBE8pGb4cby3ivEBWaeAg4twjzOF6"}
    <<< {"entries": [{".tag": "folder", "name": "2022-07-26-11-34-55 b7c35f26-eaf5-42a8-ad84-5e462048214e", "path_lower": "/test/2022-07-26-11-34-55 b7c35f26-eaf5-42a8-ad84-5e462048214e", "path_display": "/test/2022-07-26-11-34-55 b7c35f26-eaf5-42a8-ad84-5e462048214e", "id": "id:UhiqWUVtd8AAAAAAAAGE4w"}], "cursor": "AAH6cM0CbGdhehjSQCPNuv6x75v2of3OyPajqpkVugM-KPimUuGTLi0T7x1Y4WMymHEHbUPlI0byL0pD6_aelAtKeuMjyfdCrMnLR8a_Pju_8sddYXORbiFg3cWv5-u8rusPgC40M4ITNb5iWi4xX6q-mVWDVUVxzQkXLsCADb9Tb6zEl6rSlOqFPBkPLNC58nLQj2RX6Ng_W5Ds8ubCdBpF", "has_more": true}
    >>> {"cursor":"AAH6cM0CbGdhehjSQCPNuv6x75v2of3OyPajqpkVugM-KPimUuGTLi0T7x1Y4WMymHEHbUPlI0byL0pD6_aelAtKeuMjyfdCrMnLR8a_Pju_8sddYXORbiFg3cWv5-u8rusPgC40M4ITNb5iWi4xX6q-mVWDVUVxzQkXLsCADb9Tb6zEl6rSlOqFPBkPLNC58nLQj2RX6Ng_W5Ds8ubCdBpF"}
    <<< {"entries": [{".tag": "folder", "name": "2022-08-10-13-47-42 0da6e085-8c11-4a29-8f02-320c05fe1eae", "path_lower": "/test/2022-08-10-13-47-42 0da6e085-8c11-4a29-8f02-320c05fe1eae", "path_display": "/test/2022-08-10-13-47-42 0da6e085-8c11-4a29-8f02-320c05fe1eae", "id": "id:UhiqWUVtd8AAAAAAAAGJyQ"}], "cursor": "AAH9MgA2ojI18LszK_qJwLj7uioy0wWHMrcrP9y1FVuCIB0-PbHRz-Wt9c0Ob6odEMNi2VjvK-MNTA5AMR7JmCdrcn7w3i9R5rgLt8_q6xmyKXcqGzQQ4Ji4iO_qvetQOfxe_A-D6VLpeome7XOm7CJRYqi58fMDed8SYkZ4uErFL-UnD_3IBV2cDv_6yYW6qgKzvME_w4YVR9GIv8VbJFbC", "has_more": true}
    >>> {"cursor":"AAH9MgA2ojI18LszK_qJwLj7uioy0wWHMrcrP9y1FVuCIB0-PbHRz-Wt9c0Ob6odEMNi2VjvK-MNTA5AMR7JmCdrcn7w3i9R5rgLt8_q6xmyKXcqGzQQ4Ji4iO_qvetQOfxe_A-D6VLpeome7XOm7CJRYqi58fMDed8SYkZ4uErFL-UnD_3IBV2cDv_6yYW6qgKzvME_w4YVR9GIv8VbJFbC"}
    <<< {"entries": [{".tag": "folder", "name": "2022-10-18-08-46-44 46259cc9-6545-449c-a384-8821f242931f", "path_lower": "/test/2022-10-18-08-46-44 46259cc9-6545-449c-a384-8821f242931f", "path_display": "/test/2022-10-18-08-46-44 46259cc9-6545-449c-a384-8821f242931f", "id": "id:UhiqWUVtd8AAAAAAAAGUrg"}], "cursor": "AAFBmUjadYQc_MnNTAzvMeFv8GUlr89gNHon5bdD11R_JsJWiZ0vDxirAbkfbVD7rlny70AEO73TEjjtJjA5Bc1mfNY_jWTLRCfxY9dC5nSOnUEpm-aTiXUP30tQ3Ph3slcbNl_keplRCV03N0cdSPsWqTND-ZSpv-87iJgj0WCA3sHpLk1tpNNGCeO0HJLq1MJ594t9tDfS6aWJo3z3l-MD", "has_more": true}
    >>> {"cursor":"AAFBmUjadYQc_MnNTAzvMeFv8GUlr89gNHon5bdD11R_JsJWiZ0vDxirAbkfbVD7rlny70AEO73TEjjtJjA5Bc1mfNY_jWTLRCfxY9dC5nSOnUEpm-aTiXUP30tQ3Ph3slcbNl_keplRCV03N0cdSPsWqTND-ZSpv-87iJgj0WCA3sHpLk1tpNNGCeO0HJLq1MJ594t9tDfS6aWJo3z3l-MD"}
    <<< {"entries": [{".tag": "folder", "name": "2022-11-23-15-06-43 50e360cb-de7b-4627-9b44-7340158ce79d", "path_lower": "/test/2022-11-23-15-06-43 50e360cb-de7b-4627-9b44-7340158ce79d", "path_display": "/test/2022-11-23-15-06-43 50e360cb-de7b-4627-9b44-7340158ce79d", "id": "id:UhiqWUVtd8AAAAAAAAGf7g"}, {".tag": "folder", "name": "2022-11-24-06-52-13 72e1a35c-95fb-400c-a5b5-b06072c1c9f0", "path_lower": "/test/2022-11-24-06-52-13 72e1a35c-95fb-400c-a5b5-b06072c1c9f0", "path_display": "/test/2022-11-24-06-52-13 72e1a35c-95fb-400c-a5b5-b06072c1c9f0", "id": "id:UhiqWUVtd8AAAAAAAAGgHg"}, {".tag": "folder", "name": "2022-11-24-06-52-19 7697380a-fb06-4712-aa07-73e47c705380", "path_lower": "/test/2022-11-24-06-52-19 7697380a-fb06-4712-aa07-73e47c705380", "path_display": "/test/2022-11-24-06-52-19 7697380a-fb06-4712-aa07-73e47c705380", "id": "id:UhiqWUVtd8AAAAAAAAGgIQ"}, {".tag": "folder", "name": "2022-11-24-06-52-23 b745bbcc-f6d8-4355-9112-b024e079b197", "path_lower": "/test/2022-11-24-06-52-23 b745bbcc-f6d8-4355-9112-b024e079b197", "path_display": "/test/2022-11-24-06-52-23 b745bbcc-f6d8-4355-9112-b024e079b197", "id": "id:UhiqWUVtd8AAAAAAAAGgJA"}, {".tag": "folder", "name": "2022-11-24-07-54-41 63c7f270-cbc3-4019-83cc-08eff2e345ab", "path_lower": "/test/2022-11-24-07-54-41 63c7f270-cbc3-4019-83cc-08eff2e345ab", "path_display": "/test/2022-11-24-07-54-41 63c7f270-cbc3-4019-83cc-08eff2e345ab", "id": "id:UhiqWUVtd8AAAAAAAAGgJw"}, {".tag": "folder", "name": "2022-11-24-07-54-46 273e14b5-b49f-4cd7-8cc6-1d6b7907ee1f", "path_lower": "/test/2022-11-24-07-54-46 273e14b5-b49f-4cd7-8cc6-1d6b7907ee1f", "path_display": "/test/2022-11-24-07-54-46 273e14b5-b49f-4cd7-8cc6-1d6b7907ee1f", "id": "id:UhiqWUVtd8AAAAAAAAGgKg"}, {".tag": "folder", "name": "2022-11-24-07-54-51 7ad21d6a-5032-4e13-9749-4b093e356862", "path_lower": "/test/2022-11-24-07-54-51 7ad21d6a-5032-4e13-9749-4b093e356862", "path_display": "/test/2022-11-24-07-54-51 7ad21d6a-5032-4e13-9749-4b093e356862", "id": "id:UhiqWUVtd8AAAAAAAAGgLQ"}, {".tag": "folder", "name": "2022-11-24-07-50-15 59b51ef1-1fec-4eb4-bf5f-f8b264dcb7f9", "path_lower": "/test/2022-11-24-07-50-15 59b51ef1-1fec-4eb4-bf5f-f8b264dcb7f9", "path_display": "/test/2022-11-24-07-50-15 59b51ef1-1fec-4eb4-bf5f-f8b264dcb7f9", "id": "id:UhiqWUVtd8AAAAAAAAGgMA"}, {".tag": "folder", "name": "2022-11-24-07-50-21 58d279d9-1c4d-44fe-a79e-4b84f18eb5cf", "path_lower": "/test/2022-11-24-07-50-21 58d279d9-1c4d-44fe-a79e-4b84f18eb5cf", "path_display": "/test/2022-11-24-07-50-21 58d279d9-1c4d-44fe-a79e-4b84f18eb5cf", "id": "id:UhiqWUVtd8AAAAAAAAGgMw"}, {".tag": "folder", "name": "2022-11-24-07-50-25 8429b977-7f36-48c4-88fa-e5decd10b446", "path_lower": "/test/2022-11-24-07-50-25 8429b977-7f36-48c4-88fa-e5decd10b446", "path_display": "/test/2022-11-24-07-50-25 8429b977-7f36-48c4-88fa-e5decd10b446", "id": "id:UhiqWUVtd8AAAAAAAAGgNg"}, {".tag": "folder", "name": "2022-11-24-08-52-50 dfafbc47-322e-4a5b-9eff-668ac398478a", "path_lower": "/test/2022-11-24-08-52-50 dfafbc47-322e-4a5b-9eff-668ac398478a", "path_display": "/test/2022-11-24-08-52-50 dfafbc47-322e-4a5b-9eff-668ac398478a", "id": "id:UhiqWUVtd8AAAAAAAAGgOQ"}, {".tag": "folder", "name": "2022-11-24-08-52-56 eef91d53-2cbb-4bed-bc21-ce5000196dd9", "path_lower": "/test/2022-11-24-08-52-56 eef91d53-2cbb-4bed-bc21-ce5000196dd9", "path_display": "/test/2022-11-24-08-52-56 eef91d53-2cbb-4bed-bc21-ce5000196dd9", "id": "id:UhiqWUVtd8AAAAAAAAGgPA"}, {".tag": "folder", "name": "2022-11-24-08-53-00 92c84afa-649c-4269-9bb6-0a47874b5bb1", "path_lower": "/test/2022-11-24-08-53-00 92c84afa-649c-4269-9bb6-0a47874b5bb1", "path_display": "/test/2022-11-24-08-53-00 92c84afa-649c-4269-9bb6-0a47874b5bb1", "id": "id:UhiqWUVtd8AAAAAAAAGgPw"}, {".tag": "folder", "name": "2022-11-24-08-31-15 4cdea28c-b273-4c31-9388-5e5c95437129", "path_lower": "/test/2022-11-24-08-31-15 4cdea28c-b273-4c31-9388-5e5c95437129", "path_display": "/test/2022-11-24-08-31-15 4cdea28c-b273-4c31-9388-5e5c95437129", "id": "id:UhiqWUVtd8AAAAAAAAGgQg"}, {".tag": "folder", "name": "2022-11-24-08-31-22 f94df1ff-c6d5-40d1-a208-30d88b83cd05", "path_lower": "/test/2022-11-24-08-31-22 f94df1ff-c6d5-40d1-a208-30d88b83cd05", "path_display": "/test/2022-11-24-08-31-22 f94df1ff-c6d5-40d1-a208-30d88b83cd05", "id": "id:UhiqWUVtd8AAAAAAAAGgRQ"}, {".tag": "folder", "name": "2022-11-24-08-31-26 169f1de0-27ca-4cfa-9f22-15433be6a006", "path_lower": "/test/2022-11-24-08-31-26 169f1de0-27ca-4cfa-9f22-15433be6a006", "path_display": "/test/2022-11-24-08-31-26 169f1de0-27ca-4cfa-9f22-15433be6a006", "id": "id:UhiqWUVtd8AAAAAAAAGgSA"}, {".tag": "folder", "name": "2022-11-24-09-34-21 fd5345e3-2064-4429-b8cd-ef4506d09c94", "path_lower": "/test/2022-11-24-09-34-21 fd5345e3-2064-4429-b8cd-ef4506d09c94", "path_display": "/test/2022-11-24-09-34-21 fd5345e3-2064-4429-b8cd-ef4506d09c94", "id": "id:UhiqWUVtd8AAAAAAAAGgSw"}, {".tag": "folder", "name": "2022-11-24-09-34-27 0caf0151-9c46-4527-8dd1-1c11fe9e862d", "path_lower": "/test/2022-11-24-09-34-27 0caf0151-9c46-4527-8dd1-1c11fe9e862d", "path_display": "/test/2022-11-24-09-34-27 0caf0151-9c46-4527-8dd1-1c11fe9e862d", "id": "id:UhiqWUVtd8AAAAAAAAGgTg"}, {".tag": "folder", "name": "2022-11-24-08-34-29 00761549-4fe0-4762-9ffe-2ee88c28b363", "path_lower": "/test/2022-11-24-08-34-29 00761549-4fe0-4762-9ffe-2ee88c28b363", "path_display": "/test/2022-11-24-08-34-29 00761549-4fe0-4762-9ffe-2ee88c28b363", "id": "id:UhiqWUVtd8AAAAAAAAGgUQ"}, {".tag": "folder", "name": "2022-11-24-09-34-32 b21f6bc7-0435-4742-8411-568c783c1e51", "path_lower": "/test/2022-11-24-09-34-32 b21f6bc7-0435-4742-8411-568c783c1e51", "path_display": "/test/2022-11-24-09-34-32 b21f6bc7-0435-4742-8411-568c783c1e51", "id": "id:UhiqWUVtd8AAAAAAAAGgVA"}, {".tag": "folder", "name": "2022-11-24-08-34-35 04fa72a5-afbe-4382-9e40-0207bdbfdb87", "path_lower": "/test/2022-11-24-08-34-35 04fa72a5-afbe-4382-9e40-0207bdbfdb87", "path_display": "/test/2022-11-24-08-34-35 04fa72a5-afbe-4382-9e40-0207bdbfdb87", "id": "id:UhiqWUVtd8AAAAAAAAGgVw"}, {".tag": "folder", "name": "2022-11-24-08-34-40 b7774750-97f3-41ac-92b7-7631a7910e36", "path_lower": "/test/2022-11-24-08-34-40 b7774750-97f3-41ac-92b7-7631a7910e36", "path_display": "/test/2022-11-24-08-34-40 b7774750-97f3-41ac-92b7-7631a7910e36", "id": "id:UhiqWUVtd8AAAAAAAAGgWg"}, {".tag": "folder", "name": "2022-11-24-09-37-29 e3e2b6ea-2638-4698-8588-c19ba27e6ede", "path_lower": "/test/2022-11-24-09-37-29 e3e2b6ea-2638-4698-8588-c19ba27e6ede", "path_display": "/test/2022-11-24-09-37-29 e3e2b6ea-2638-4698-8588-c19ba27e6ede", "id": "id:UhiqWUVtd8AAAAAAAAGgXQ"}, {".tag": "folder", "name": "2022-11-24-09-37-35 33a1bfbc-3509-4a8d-9e91-4c2e81fd2df9", "path_lower": "/test/2022-11-24-09-37-35 33a1bfbc-3509-4a8d-9e91-4c2e81fd2df9", "path_display": "/test/2022-11-24-09-37-35 33a1bfbc-3509-4a8d-9e91-4c2e81fd2df9", "id": "id:UhiqWUVtd8AAAAAAAAGgYA"}, {".tag": "folder", "name": "2022-11-24-09-37-41 702d31da-2ea4-4a21-b02f-e119b3a9775d", "path_lower": "/test/2022-11-24-09-37-41 702d31da-2ea4-4a21-b02f-e119b3a9775d", "path_display": "/test/2022-11-24-09-37-41 702d31da-2ea4-4a21-b02f-e119b3a9775d", "id": "id:UhiqWUVtd8AAAAAAAAGgYw"}], "cursor": "AAG9jrTYfuJ5CKtZcDNgry8RyrCy85fdtD0JBZYLaiKKFD1agJgXHwAyayh0Se0zVIuYYQr95YmmZIvGj9GgH0tZ6VoKhewfzz1fObQ3wKw8ww-ujZqXtSSEPiwA2HepQUbZC22QsWVSW2DbzBDYEtDuudcs26H-BGZlaOMD7xMU11KqT_fwxaWLy5JtcDt3PQ7j7nJ5IYqjuoGig7p_ujZl", "has_more": true}
    >>> {"cursor":"AAG9jrTYfuJ5CKtZcDNgry8RyrCy85fdtD0JBZYLaiKKFD1agJgXHwAyayh0Se0zVIuYYQr95YmmZIvGj9GgH0tZ6VoKhewfzz1fObQ3wKw8ww-ujZqXtSSEPiwA2HepQUbZC22QsWVSW2DbzBDYEtDuudcs26H-BGZlaOMD7xMU11KqT_fwxaWLy5JtcDt3PQ7j7nJ5IYqjuoGig7p_ujZl"}
    <<< {"entries": [{".tag": "folder", "name": "2022-11-24-12-44-37 3a200d78-2539-4e4f-b275-fa7b187d8caf", "path_lower": "/test/2022-11-24-12-44-37 3a200d78-2539-4e4f-b275-fa7b187d8caf", "path_display": "/test/2022-11-24-12-44-37 3a200d78-2539-4e4f-b275-fa7b187d8caf", "id": "id:UhiqWUVtd8AAAAAAAAGgig"}, {".tag": "folder", "name": "2022-11-25-12-30-24 f12fc5f4-1dc3-4092-b7d1-f727cb4388c9", "path_lower": "/test/2022-11-25-12-30-24 f12fc5f4-1dc3-4092-b7d1-f727cb4388c9", "path_display": "/test/2022-11-25-12-30-24 f12fc5f4-1dc3-4092-b7d1-f727cb4388c9", "id": "id:UhiqWUVtd8AAAAAAAAGhbg"}, {".tag": "folder", "name": "2022-11-25-12-31-00 1e50f1c0-9d69-4440-8749-8290229828fc", "path_lower": "/test/2022-11-25-12-31-00 1e50f1c0-9d69-4440-8749-8290229828fc", "path_display": "/test/2022-11-25-12-31-00 1e50f1c0-9d69-4440-8749-8290229828fc", "id": "id:UhiqWUVtd8AAAAAAAAGhcQ"}, {".tag": "folder", "name": "2022-11-25-13-38-51 b78eff5d-7d47-492e-bfaf-a3fbe0eed3bc", "path_lower": "/test/2022-11-25-13-38-51 b78eff5d-7d47-492e-bfaf-a3fbe0eed3bc", "path_display": "/test/2022-11-25-13-38-51 b78eff5d-7d47-492e-bfaf-a3fbe0eed3bc", "id": "id:UhiqWUVtd8AAAAAAAAGhjw"}, {".tag": "folder", "name": "2022-11-25-13-41-12 2eb0b283-c81f-49d6-bd50-71bb580b1911", "path_lower": "/test/2022-11-25-13-41-12 2eb0b283-c81f-49d6-bd50-71bb580b1911", "path_display": "/test/2022-11-25-13-41-12 2eb0b283-c81f-49d6-bd50-71bb580b1911", "id": "id:UhiqWUVtd8AAAAAAAAGhkg"}, {".tag": "folder", "name": "2022-11-25-13-41-52 c4499a62-1768-4954-80b1-de891794a20f", "path_lower": "/test/2022-11-25-13-41-52 c4499a62-1768-4954-80b1-de891794a20f", "path_display": "/test/2022-11-25-13-41-52 c4499a62-1768-4954-80b1-de891794a20f", "id": "id:UhiqWUVtd8AAAAAAAAGhlQ"}, {".tag": "folder", "name": "2022-11-25-13-42-56 c7d913b1-496b-4072-8cc4-1c2f2e3bdb05", "path_lower": "/test/2022-11-25-13-42-56 c7d913b1-496b-4072-8cc4-1c2f2e3bdb05", "path_display": "/test/2022-11-25-13-42-56 c7d913b1-496b-4072-8cc4-1c2f2e3bdb05", "id": "id:UhiqWUVtd8AAAAAAAAGhmA"}], "cursor": "AAGmaZLashey-WU8HQ9czOJastcCmM45E3KvS3SXWKgGyuhgqBTjpY-HHnolyg_PE5EufvkzIgC4SKizXMROY62nslhMN-lTsKLQTS7gMyE8NAktJsGTLNZYfxyoAXuFwbrgWUBWnq_mWDkEoomejSgTN_YlBWr9C4N_v7_y2CuXmcv35rcJkzQBx5JnhS67KHpSrFziqLXv_h2ieZbKhoR3", "has_more": true}
    >>> {"cursor":"AAGmaZLashey-WU8HQ9czOJastcCmM45E3KvS3SXWKgGyuhgqBTjpY-HHnolyg_PE5EufvkzIgC4SKizXMROY62nslhMN-lTsKLQTS7gMyE8NAktJsGTLNZYfxyoAXuFwbrgWUBWnq_mWDkEoomejSgTN_YlBWr9C4N_v7_y2CuXmcv35rcJkzQBx5JnhS67KHpSrFziqLXv_h2ieZbKhoR3"}
    <<< Error in call to API function "files/list_folder/continue": Error while authenticating request
    
    Unhandled Exception: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: E. Path '', line 0, position 0.
       at Newtonsoft.Json.JsonTextReader.ParseValue()
       at Newtonsoft.Json.JsonTextReader.Read()
       at Dropbox.Api.Stone.JsonReader.Read[T](String json, IDecoder`1 decoder)
       at Dropbox.Api.StructuredException`1.Decode[TException](String json, IDecoder`1 errorDecoder, Func`1 exceptionFunc)
       at Dropbox.Api.DropboxRequestHandler.<RequestJsonString>d__20.MoveNext()

    Sometimes DropBox server resonds with:

    Error in call to API function "files/list_folder/continue": Error while authenticating request