<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unexpected character encountered while parsing value: &amp;lt;.Path in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unexpected-character-encountered-while-parsing-value-lt-Path/m-p/265051#M15540</link>
    <description>&lt;P&gt;Everything worked correctly this morning. &amp;nbsp;It's a daily process, so if I encouter it again I will post here.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2018 00:34:54 GMT</pubDate>
    <dc:creator>barnesgc</dc:creator>
    <dc:date>2018-02-15T00:34:54Z</dc:date>
    <item>
      <title>Unexpected character encountered while parsing value: &lt;.Path</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unexpected-character-encountered-while-parsing-value-lt-Path/m-p/264863#M15518</link>
      <description>&lt;P&gt;I have a VB.NET application that has been successfully using the .NET API to get a list of available files and download any that are missing in our local data share. &amp;nbsp;It has been running once a day, without any issues, for several weeks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This morning, it is intermitently failing. &amp;nbsp;I've gotten it to work twice, but on most occasions it thows an exception when it attempts to retrieve the list of all of the files available on Dropbox. &amp;nbsp;The exception message that I get is, "Unexpected character encountered while parsing value: &amp;lt;.Path". &amp;nbsp;Nothing has changed about this code in the last few weeks. &amp;nbsp;So it worked just fine for a while, but has suddenly stopped working today.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The VB.NET code is encased in a class, with the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Friend Class clsDropbox

   Private m_Dropbox As DropboxClient

   Friend Sub New(token As String)

      m_Dropbox = New DropboxClient(token)

   End Sub

   Friend Function ListGpsFiles() As List(Of clsGpsFileZip)

      Dim lstReturn As New List(Of clsGpsFileZip)
      Dim strError As String
      Dim gfz As clsGpsFileZip
      Dim lst As Files.ListFolderResult
      Dim fmd As Files.Metadata

      Try

         lst = m_Dropbox.Files.ListFolderAsync("/Apps/GPSLogger for Android/").Result

      Catch ex As Exception

         strError = "Falied to retrieve file list from Dropbox.  "

         If Not ex.InnerException.Message Is Nothing Then
            strError = strError + ex.InnerException.Message + "."
         Else
            strError = strError + ex.Message + "."
         End If

         Call MsgBox(strError)
         Application.Exit()

      End Try

      For Each fmd In lst.Entries

         If fmd.IsFile Then

            gfz = New clsGpsFileZip(fmd.Name)

            If gfz.IsGpsFile Then
               gfz.Path = fmd.PathLower
               lstReturn.Add(gfz)
            End If

         End If

      Next

      Return lstReturn

   End Function

End Class&lt;/PRE&gt;&lt;P&gt;As I say, everything worked fine until this morning, and the code has not changed in the past few weeks. &amp;nbsp;Any advice?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:15:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unexpected-character-encountered-while-parsing-value-lt-Path/m-p/264863#M15518</guid>
      <dc:creator>barnesgc</dc:creator>
      <dc:date>2019-05-29T09:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected character encountered while parsing value: &lt;.Path</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unexpected-character-encountered-while-parsing-value-lt-Path/m-p/264961#M15522</link>
      <description>Thanks for the report! Based on the error message, it looks like the JSON parsing is failing because the response didn't contain valid JSON (e.g., it has "&amp;lt;"). &lt;BR /&gt;&lt;BR /&gt;That could happen due to intermittent server issues on our side. I can't reproduce the issue right now. Are you still seeing it?</description>
      <pubDate>Wed, 14 Feb 2018 16:31:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unexpected-character-encountered-while-parsing-value-lt-Path/m-p/264961#M15522</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-02-14T16:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected character encountered while parsing value: &lt;.Path</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unexpected-character-encountered-while-parsing-value-lt-Path/m-p/265051#M15540</link>
      <description>&lt;P&gt;Everything worked correctly this morning. &amp;nbsp;It's a daily process, so if I encouter it again I will post here.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 00:34:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unexpected-character-encountered-while-parsing-value-lt-Path/m-p/265051#M15540</guid>
      <dc:creator>barnesgc</dc:creator>
      <dc:date>2018-02-15T00:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected character encountered while parsing value: &lt;.Path</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unexpected-character-encountered-while-parsing-value-lt-Path/m-p/265141#M15554</link>
      <description>Thanks! Server issues can happen occasionally, so it may be helpful to add some automatic retries for failures like this.</description>
      <pubDate>Thu, 15 Feb 2018 14:44:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unexpected-character-encountered-while-parsing-value-lt-Path/m-p/265141#M15554</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-02-15T14:44:15Z</dc:date>
    </item>
  </channel>
</rss>

