<?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 Issue with API returning no data when file name has some special character in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-API-returning-no-data-when-file-name-has-some-special/m-p/682503#M30746</link>
    <description>&lt;P&gt;I have a code written in php, where i am trying to fetch the file data with a apostrophe, when i am trying to do this it returns no result. Tried rawurlencode as well, but didnt work. Kindly help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$file_path = "/posts/00 - jeff fader - together - (gents &amp;amp; dandy's - gents190).txt";&lt;/P&gt;&lt;P&gt;$file_content = wp_remote_retrieve_body( wp_remote_get( '&lt;A href="https://content.dropboxapi.com/2/files/download" target="_blank"&gt;https://content.dropboxapi.com/2/files/download&lt;/A&gt;', array(&lt;BR /&gt;'headers' =&amp;gt; array(&lt;BR /&gt;'Authorization' =&amp;gt; 'Bearer ' . $api_key,&lt;BR /&gt;'Dropbox-API-Arg' =&amp;gt; json_encode( array( 'path' =&amp;gt; ($file_path) ) ),&lt;BR /&gt;),&lt;BR /&gt;)));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 May 2023 09:24:12 GMT</pubDate>
    <dc:creator>kostas99</dc:creator>
    <dc:date>2023-05-08T09:24:12Z</dc:date>
    <item>
      <title>Issue with API returning no data when file name has some special character</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-API-returning-no-data-when-file-name-has-some-special/m-p/682503#M30746</link>
      <description>&lt;P&gt;I have a code written in php, where i am trying to fetch the file data with a apostrophe, when i am trying to do this it returns no result. Tried rawurlencode as well, but didnt work. Kindly help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$file_path = "/posts/00 - jeff fader - together - (gents &amp;amp; dandy's - gents190).txt";&lt;/P&gt;&lt;P&gt;$file_content = wp_remote_retrieve_body( wp_remote_get( '&lt;A href="https://content.dropboxapi.com/2/files/download" target="_blank"&gt;https://content.dropboxapi.com/2/files/download&lt;/A&gt;', array(&lt;BR /&gt;'headers' =&amp;gt; array(&lt;BR /&gt;'Authorization' =&amp;gt; 'Bearer ' . $api_key,&lt;BR /&gt;'Dropbox-API-Arg' =&amp;gt; json_encode( array( 'path' =&amp;gt; ($file_path) ) ),&lt;BR /&gt;),&lt;BR /&gt;)));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 09:24:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-API-returning-no-data-when-file-name-has-some-special/m-p/682503#M30746</guid>
      <dc:creator>kostas99</dc:creator>
      <dc:date>2023-05-08T09:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with API returning no data when file name has some special character</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-API-returning-no-data-when-file-name-has-some-special/m-p/682589#M30753</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1688933"&gt;@kostas99&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;..., when i am trying to do this it returns no result. ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1688933"&gt;@kostas99&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;There is always some result! &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; It's either success or error description. It's another story if you&amp;nbsp; just ignore the result when it's an error. Read it, there is some useful information that let you know what's wrong. By the way... the file name is OK. When you say 'no result', are you sure that the file is not empty? 🧐&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: Most of the API calls (including download) use POST, not GET http method.&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 13:30:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-API-returning-no-data-when-file-name-has-some-special/m-p/682589#M30753</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-05-08T13:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with API returning no data when file name has some special character</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-API-returning-no-data-when-file-name-has-some-special/m-p/682669#M30758</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1688933"&gt;@kostas99&lt;/a&gt; As Здравко said, if the Dropbox API call failed, the Dropbox API would reply with an error response. If the network connection itself failed, your network client should return an error indicating the issue. Please print out the API response or client error for more information. You may need to refer to your platform's documentation for information on how to access this.&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 16:05:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-API-returning-no-data-when-file-name-has-some-special/m-p/682669#M30758</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-05-08T16:05:23Z</dc:date>
    </item>
  </channel>
</rss>

