<?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: Dropbox's code example for sharing a file link in Python not working in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/667525#M30201</link>
    <description>&lt;P&gt;Thanks for clarifying! That's correct, the /2/sharing/get_shared_link_metadata endpoint does require the 'url' parameter. That endpoint is a way to get information about a Dropbox shared link, so you need to include the Dropbox shared link in the call. The 'path' parameter can additionally be supplied to request information about a particular item relative to the folder, if the shared link itself is for a folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my testing, &lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/#sharing_get_shared_link_metadata" target="_blank"&gt;the API v2 Explorer&lt;/A&gt; "Python request (requests library)" option for that endpoint is correctly including the 'url' parameter, and likewise I wasn't able to reproduce the original "request body is empty" error with this code, so it sounds like you were using a modified version of that code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, it looks like you've got this sorted out now, but let us know if you need help with anything else.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2023 17:07:42 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-03-13T17:07:42Z</dc:date>
    <item>
      <title>Dropbox's code example for sharing a file link in Python not working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/666592#M30170</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;#Python code provided by Dropbox&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;import requests&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;import json&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;url = "&lt;A href="https://api.dropboxapi.com/2/sharing/get_shared_link_metadata" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/sharing/get_shared_link_metadata&lt;/A&gt;"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;headers = {&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; "Authorization": "Bearer append-current-token"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;"Content-Type": "application/json"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;data = {&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; "path": "/baby dream/Cris Rodriguez/10yrsZ.tif"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;r = requests.post(url, headers=headers, data=json.dumps(data))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;print(r.text)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;I am getting this error text: 400&lt;BR /&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Error in call to API function "sharing/get_shared_link_metadata": &lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;This function requires its argument in the HTTP request body, but your request body is empty.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This is the default code provided by Dropbox which I am trying to implement but to no avail. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I've done my research to no avail.&amp;nbsp; Need help desperately. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I am using VS Code as my editor, Windows 10 latest version, Python 3.10.10&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 Mar 2023 14:58:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/666592#M30170</guid>
      <dc:creator>cristrod817</dc:creator>
      <dc:date>2023-03-09T14:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox's code example for sharing a file link in Python not working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/666594#M30171</link>
      <description>&lt;P&gt;Can you let me know where you found or received this code so I can check on that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case, is this the actual/exact code you're running? When I plug in an access token, and add the missing "," in the 'headers' object that otherwise causes a SyntaxError, I actually get the different error "Error in call to API function "sharing/get_shared_link_metadata": request body: missing required field 'url'" which would be expected in this case for this code, as &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_metadata" target="_blank"&gt;the /2/sharing/get_shared_link_metadata endpoint requires a 'url' parameter&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 15:05:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/666594#M30171</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-03-09T15:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox's code example for sharing a file link in Python not working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/667366#M30194</link>
      <description>&lt;P&gt;The code was found in Dropbox &lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/#sharing_get_shared_link_metadata" target="_blank" rel="noopener"&gt;https://dropbox.github.io/dropbox-api-v2-explorer/#sharing_get_shared_link_metadata&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Select View Request as Python Request (Requests Library)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and it gives this error:&lt;/P&gt;&lt;PRE&gt;{
  "error_summary": "shared_link_not_found/",
  "error": {
    ".tag": "shared_link_not_found"
  }
}&lt;/PRE&gt;&lt;P&gt;Please provide the appropriate code.&amp;nbsp; Thank you.&amp;nbsp; The path does exist.&amp;nbsp; Check my prior replies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 11:18:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/667366#M30194</guid>
      <dc:creator>cristrod817</dc:creator>
      <dc:date>2023-03-13T11:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox's code example for sharing a file link in Python not working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/667448#M30195</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1633352"&gt;@cristrod817&lt;/a&gt;, as Greg pointed out, 'url' parameter is missing in your request and of course, the error message, you're receiving, notes the same. Take a look once again in the link you post above. There are 3 parameters - 1 mandatory and 2 optional. You have put only one of the optional params. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt; Where is the link you want to check metadata for? That's it.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 13:53:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/667448#M30195</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-03-13T13:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox's code example for sharing a file link in Python not working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/667525#M30201</link>
      <description>&lt;P&gt;Thanks for clarifying! That's correct, the /2/sharing/get_shared_link_metadata endpoint does require the 'url' parameter. That endpoint is a way to get information about a Dropbox shared link, so you need to include the Dropbox shared link in the call. The 'path' parameter can additionally be supplied to request information about a particular item relative to the folder, if the shared link itself is for a folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my testing, &lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/#sharing_get_shared_link_metadata" target="_blank"&gt;the API v2 Explorer&lt;/A&gt; "Python request (requests library)" option for that endpoint is correctly including the 'url' parameter, and likewise I wasn't able to reproduce the original "request body is empty" error with this code, so it sounds like you were using a modified version of that code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, it looks like you've got this sorted out now, but let us know if you need help with anything else.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 17:07:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/667525#M30201</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-03-13T17:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox's code example for sharing a file link in Python not working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/669323#M30272</link>
      <description>&lt;P&gt;Ok, I have updated the code to include the url parameter within the data = statement.&amp;nbsp; Now I am getting the same error as the default code provided by Dropbox.&amp;nbsp; I have included a print statement at the end of the code so I can see the response which is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{"error_summary": "shared_link_not_found/..", "error": {".tag": "shared_link_not_found"}}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;The code is identical to that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my updated code:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; requests&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; json&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;url &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://api.dropboxapi.com/2/sharing/get_shared_link_metadata" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/sharing/get_shared_link_metadata&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;headers &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Authorization&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Bearer sxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx removed"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Content-Type&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;application/json&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;data &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;url&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://api.dropboxapi.com/2/sharing/get_file_metadata" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/sharing/get_file_metadata&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;path&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;/Cris Rodriguez/Baby Dream CSV/Beach Vibes (GO) 6x8 WEB.jpg&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;r &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; requests&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;post&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;url&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; headers&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;headers&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; data&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;json&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;dumps&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;r&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;text&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Default code by Dropbox" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/36204i4A0CA6B0C8B8815F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="get_shared_link_metatdata.JPG" alt="Default code by Dropbox" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Default code by Dropbox&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My Python Code" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/36206i4411C2543F45D385/image-size/medium?v=v2&amp;amp;px=400" role="button" title="My Python Code .JPG" alt="My Python Code" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;My Python Code&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error returned by Dropbox Code" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/36205i76F76B43BAB792BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Result from API call get_shared_link_metatdata.JPG" alt="Error returned by Dropbox Code" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Error returned by Dropbox Code&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 19 Mar 2023 18:37:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/669323#M30272</guid>
      <dc:creator>cristrod817</dc:creator>
      <dc:date>2023-03-19T18:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox's code example for sharing a file link in Python not working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/669334#M30273</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1633352"&gt;@cristrod817&lt;/a&gt;, where is your shared link? &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@44A578B8F41A694F0BC746F21EE561B3/emoticons/1f643.png" alt=":upside_down_face:" title=":upside_down_face:" /&gt; Did you forget what you're trying achieve - to get shared link metadata? You have to provide a shared link with that url field, not just some URL! What actually do you expect to see as metadata for the 'link' you provided? &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@D88F213CAFB196B6AB70612B08AD9D31/emoticons/1f601.png" alt=":beaming_face_with_smiling_eyes:" title=":beaming_face_with_smiling_eyes:" /&gt;&lt;/P&gt;&lt;P&gt;Hope this gives the next step.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2023 18:58:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/669334#M30273</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-03-19T18:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox's code example for sharing a file link in Python not working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/669340#M30274</link>
      <description>&lt;P&gt;I am following the exact example provided in The API Explorer.&lt;/P&gt;&lt;P&gt;&lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/#sharing_get_shared_link_metadata" target="_blank"&gt;https://dropbox.github.io/dropbox-api-v2-explorer/#sharing_get_shared_link_metadata&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't provide a share link, I am expecting a share link from Dropbox.&amp;nbsp; That purpose of this exercise, isn't it?&amp;nbsp; Or am I missing something? &amp;nbsp; Can you please provide an example?&amp;nbsp; I am just following the example code provided by Dropbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for responding.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2023 19:57:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/669340#M30274</guid>
      <dc:creator>cristrod817</dc:creator>
      <dc:date>2023-03-19T19:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox's code example for sharing a file link in Python not working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/669341#M30275</link>
      <description>&lt;P&gt;This is the shared link I am expecting from my call to Dropbox.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/38czpuizzl9xxq1/Beach%20Vibes%20%28GO%29%206x8%20WEB.jpg?dl=0" target="_blank"&gt;https://www.dropbox.com/s/38czpuizzl9xxq1/Beach%20Vibes%20%28GO%29%206x8%20WEB.jpg?dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I don't understand the error.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2023 20:04:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/669341#M30275</guid>
      <dc:creator>cristrod817</dc:creator>
      <dc:date>2023-03-19T20:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox's code example for sharing a file link in Python not working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/669349#M30276</link>
      <description>&lt;P&gt;Ha ha.. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@D88F213CAFB196B6AB70612B08AD9D31/emoticons/1f601.png" alt=":beaming_face_with_smiling_eyes:" title=":beaming_face_with_smiling_eyes:" /&gt; you are trying to evaluate an existing link, not to create a new link. &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; If you want to create such link take a look &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-do-I-upload-file-using-Python/td-p/661009" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. &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;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2023 20:36:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/669349#M30276</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-03-19T20:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox's code example for sharing a file link in Python not working</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/669531#M30278</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1633352"&gt;@cristrod817&lt;/a&gt;&amp;nbsp;Здравко is correct; &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_metadata" target="_blank"&gt;/2/sharing/get_shared_link_metadata&lt;/A&gt; is for getting information about an existing shared link that you would specify. It isn't a way to create or retrieve a shared link. I see you were specifying a "url" parameter value of "&lt;A href="https://api.dropboxapi.com/2/sharing/get_file_metadata&amp;quot;," target="_blank"&gt;https://api.dropboxapi.com/2/sharing/get_file_metadata"&lt;/A&gt;, which is the Dropbox API endpoint, not a Dropbox shared link. You can find &lt;A href="https://help.dropbox.com/share/create-and-share-link" target="_blank"&gt;information about Dropbox shared links here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To create a shared link using the API, you would instead use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings" target="_blank"&gt;/2/sharing/create_shared_link_with_settings&lt;/A&gt;. To list existing shared links, you would use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links" target="_blank"&gt;/2/sharing/list_shared_links&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 14:42:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-s-code-example-for-sharing-a-file-link-in-Python-not/m-p/669531#M30278</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-03-20T14:42:18Z</dc:date>
    </item>
  </channel>
</rss>

