<?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: Certificate Issue using put_file? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Certificate-Issue-using-put-file/m-p/210750#M10549</link>
    <description>&lt;P&gt;Hi Dave, it sounds like you're using an old version of the API v1 Python SDK, with an outdated certificate file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We reached out to developers using old SDKs like this last year to warn of this change, but it sounds like that email didn't make it to you unfortunately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case, you should be able to fix&amp;nbsp;this by just upgrading the version of the &lt;A href="https://github.com/dropbox/dropbox-sdk-python" target="_self"&gt;Python SDK&lt;/A&gt; you're using (to get the &lt;A href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/trusted-certs.crt" target="_self"&gt;current certificate file&lt;/A&gt;). E.g., if you're using pip, that would a matter of running:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;pip install dropbox --upgrade&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, unrelated, I should note that&amp;nbsp;based on your stack trace, it looks like you're still using API v1, which is itself &lt;A href="https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/" target="_self"&gt;deprecated&lt;/A&gt;. You should move to API v2 when you can. There's functionality for both API v1 and API v2 in the latest version of the Python SDK. You can find instructions on using API v2 functionality in the latest version of &lt;A href="https://github.com/dropbox/dropbox-sdk-python" target="_self"&gt;the Python SDK readme on GitHub&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2017 15:46:08 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-03-09T15:46:08Z</dc:date>
    <item>
      <title>Certificate Issue using put_file?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Certificate-Issue-using-put-file/m-p/210709#M10543</link>
      <description>&lt;P&gt;Hi guys, we have an app that was working fine yesterday, but now when we use the client.put_file method we're getting a certificate verification error. Stack trace below -- any ideas please? I've rechecked our app key and secret and all looks correct. As i say, everything was fine yesterday. What a difference a day makes... &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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File "/home/clicadmin/CLIC_Deployment_Scripts/build_utils/mis_manager.py", line 97, in do_put&lt;BR /&gt;self.api_client.put_file(self.current_path + "/" + to_path, from_file, overwrite=True)&lt;BR /&gt;File "build/bdist.linux-x86_64/egg/dropbox/client.py", line 321, in put_file&lt;BR /&gt;File "build/bdist.linux-x86_64/egg/dropbox/rest.py", line 264, in PUT&lt;BR /&gt;File "build/bdist.linux-x86_64/egg/dropbox/rest.py", line 210, in PUT&lt;BR /&gt;File "build/bdist.linux-x86_64/egg/dropbox/rest.py", line 176, in request&lt;BR /&gt;dropbox.rest.RESTSocketError: Error connecting to "api-content.dropbox.com": [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:24:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Certificate-Issue-using-put-file/m-p/210709#M10543</guid>
      <dc:creator>DaveP</dc:creator>
      <dc:date>2019-05-29T09:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Certificate Issue using put_file?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Certificate-Issue-using-put-file/m-p/210750#M10549</link>
      <description>&lt;P&gt;Hi Dave, it sounds like you're using an old version of the API v1 Python SDK, with an outdated certificate file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We reached out to developers using old SDKs like this last year to warn of this change, but it sounds like that email didn't make it to you unfortunately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case, you should be able to fix&amp;nbsp;this by just upgrading the version of the &lt;A href="https://github.com/dropbox/dropbox-sdk-python" target="_self"&gt;Python SDK&lt;/A&gt; you're using (to get the &lt;A href="https://github.com/dropbox/dropbox-sdk-python/blob/master/dropbox/trusted-certs.crt" target="_self"&gt;current certificate file&lt;/A&gt;). E.g., if you're using pip, that would a matter of running:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;pip install dropbox --upgrade&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, unrelated, I should note that&amp;nbsp;based on your stack trace, it looks like you're still using API v1, which is itself &lt;A href="https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/" target="_self"&gt;deprecated&lt;/A&gt;. You should move to API v2 when you can. There's functionality for both API v1 and API v2 in the latest version of the Python SDK. You can find instructions on using API v2 functionality in the latest version of &lt;A href="https://github.com/dropbox/dropbox-sdk-python" target="_self"&gt;the Python SDK readme on GitHub&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 15:46:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Certificate-Issue-using-put-file/m-p/210750#M10549</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-03-09T15:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Certificate Issue using put_file?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Certificate-Issue-using-put-file/m-p/210756#M10550</link>
      <description>&lt;P&gt;Star man, that was it thanks. Tbh I'd ruled that out, as the dropbox warnings about the API changing were for around June 2017. &amp;nbsp;And I'm sure we had upgraded the SDK when the warnings first came out. Obviously not, our bad.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 16:25:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Certificate-Issue-using-put-file/m-p/210756#M10550</guid>
      <dc:creator>DaveP</dc:creator>
      <dc:date>2017-03-09T16:25:03Z</dc:date>
    </item>
  </channel>
</rss>

