<?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: Problem with API share link in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-API-share-link/m-p/81857#M2420</link>
    <description>&lt;P&gt;I'm using Corona SDK. They have a function network.request. I have used this to GET a file with that name without a problem but this post is not working. In both cases I am sending the request in raw, I'm not substituting + for space or anything.&lt;/P&gt;

&lt;P&gt;Do I need to encode a parenthesis or can I just send it?&lt;/P&gt;

&lt;P&gt;I will post some code tomorrow. My computer is at my office. I discovered the problem shortly before going home and am sitting on the couch obsessing.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Apr 2015 07:46:10 GMT</pubDate>
    <dc:creator>Mark S.115</dc:creator>
    <dc:date>2015-04-10T07:46:10Z</dc:date>
    <item>
      <title>Problem with API share link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-API-share-link/m-p/81855#M2418</link>
      <description>&lt;P&gt;I'm trying to get a share link using the API. I have a problem when I try to get a link to a file with a rev number. For example, myfile (5).txt&lt;BR /&gt;
In these cases the numbers were added by your system during a PUT because I have it set up to not overwrite. Any advice about how to get these revised files? &lt;/P&gt;

&lt;P&gt;I am saving the file to Dropbox and using the returned URL from the original post to get it again. I get a "malformed url" error.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:43:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-API-share-link/m-p/81855#M2418</guid>
      <dc:creator>Mark S.115</dc:creator>
      <dc:date>2019-05-29T09:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with API share link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-API-share-link/m-p/81856#M2419</link>
      <description>&lt;P&gt;This is likely some kind of encoding error (e.g. not encoding the space or the parentheses right).&lt;/P&gt;

&lt;P&gt;Could you share your code? What platform are you on? Are you using an SDK?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2015 07:32:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-API-share-link/m-p/81856#M2419</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-04-10T07:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with API share link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-API-share-link/m-p/81857#M2420</link>
      <description>&lt;P&gt;I'm using Corona SDK. They have a function network.request. I have used this to GET a file with that name without a problem but this post is not working. In both cases I am sending the request in raw, I'm not substituting + for space or anything.&lt;/P&gt;

&lt;P&gt;Do I need to encode a parenthesis or can I just send it?&lt;/P&gt;

&lt;P&gt;I will post some code tomorrow. My computer is at my office. I discovered the problem shortly before going home and am sitting on the couch obsessing.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2015 07:46:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-API-share-link/m-p/81857#M2420</guid>
      <dc:creator>Mark S.115</dc:creator>
      <dc:date>2015-04-10T07:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with API share link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-API-share-link/m-p/81858#M2421</link>
      <description>&lt;P&gt;Ok, here is some code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;coFunct = coroutine.create(function()
    if authString == " then
        connect()
    end
    local url = "https://api.dropbox.com/1/shares/auto/" .. path
    url = html.escapeURl(url)
    url = url .. "?short_url=false" 
    print("url: ", url)
    local params = {}
    local headers = {}
    headers.Authorization = "OAuth " .. string.gsub(authString, "&amp;amp;", ",")
    params.headers = headers
    network.request(url, "POST", getFileListener(listener), params)
end
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The url I am sending is: &lt;A href="https://api.dropbox.com/1/shares/auto/char_sk_shared/WODVTMTempla+%283%29.skchar?short_url=false" rel="nofollow noreferrer"&gt;https://api.dropbox.com/1/shares/auto/char_sk_shared/WODVTMTempla+%283%29.skchar?short_url=false&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I also have tried: &lt;A href="https://api.dropbox.com/1/shares/auto/char_sk_shared/WODVTMTempla+(3).skchar?short_url=false" rel="nofollow noreferrer"&gt;https://api.dropbox.com/1/shares/auto/char_sk_shared/WODVTMTempla+(3).skchar?short_url=false&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I'm sure the file is there, as part of my share function I put the file in a sub folder of the sandbox called /shared/ and then attempt to share it. This has worked consistently when I'm not trying to access a file with " (n)" at the end.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2015 21:31:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-API-share-link/m-p/81858#M2421</guid>
      <dc:creator>Mark S.115</dc:creator>
      <dc:date>2015-04-10T21:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with API share link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-API-share-link/m-p/81859#M2422</link>
      <description>&lt;P&gt;One more thing, I don't get the malformed error if I change the space to a +. However, the response from the function above is a response.url = nil&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2015 21:37:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-API-share-link/m-p/81859#M2422</guid>
      <dc:creator>Mark S.115</dc:creator>
      <dc:date>2015-04-10T21:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with API share link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-API-share-link/m-p/81860#M2423</link>
      <description>&lt;P&gt;Ok, I figured it out. For posterity, your system will not accept + in place of " " in a file name, you need to hex the space.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2015 21:55:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-API-share-link/m-p/81860#M2423</guid>
      <dc:creator>Mark S.115</dc:creator>
      <dc:date>2015-04-10T21:55:49Z</dc:date>
    </item>
  </channel>
</rss>

