<?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: Using token with API v2. in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-token-with-API-v2/m-p/199546#M9288</link>
    <description>&lt;P&gt;Thanks for your time dude!&lt;/P&gt;</description>
    <pubDate>Tue, 27 Dec 2016 15:21:47 GMT</pubDate>
    <dc:creator>Douglas16</dc:creator>
    <dc:date>2016-12-27T15:21:47Z</dc:date>
    <item>
      <title>Using token with API v2.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-token-with-API-v2/m-p/199458#M9275</link>
      <description>&lt;P&gt;Hello guys, I learning about API v2, I was read the API commands and testing, so in my first commad teste I have a trouble, I try type the command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;curl -X POST &lt;A href="https://api.dropboxapi.com/2/files/copy" target="_blank"&gt;https://api.dropboxapi.com/2/files/copy&lt;/A&gt; --header 'Authorization: Bearer null' --header 'Content-Type: application/json' --data '{"from_path":"","to_path":""}'&amp;nbsp;&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the output returns:&lt;STRONG&gt;&amp;nbsp; "Error in call to API function "files/copy": The given OAuth 2 access token is malformed."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I've been looking for this one from OAuth and the token, in the docs of dropbox I find the OAuth guide (&lt;A href="https://www.dropbox.com/developers/reference/oauth-guide)...hear" target="_blank"&gt;https://www.dropbox.com/developers/reference/oauth-guide)...hear&lt;/A&gt; say that I should have a token to use this OAuth,&amp;nbsp; and to I can have a token I need to create an application...&lt;SPAN class="short_text"&gt;I would like to know if it is possible&lt;/SPAN&gt; generate a token(&lt;A href="https://blogs.dropbox.com/developers/2014/05/generate-an-access-token-for-your-own-account/" target="_blank"&gt;https://blogs.dropbox.com/developers/2014/05/generate-an-access-token-for-your-own-account/&lt;/A&gt;) &lt;U&gt;without create an application&lt;/U&gt;...just to I testing the commands of API...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Att:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I create an application in "My apps" section...but when I try to generate a token, 'generate access token' button in the settings section of the app I receive:&amp;nbsp;&lt;EM&gt; "You must be a team administrator to perform this operation."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So: what I need to do to be a team administrator?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Any help be apreciated, thanks in advanced!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:27:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-token-with-API-v2/m-p/199458#M9275</guid>
      <dc:creator>Douglas16</dc:creator>
      <dc:date>2019-05-29T09:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using token with API v2.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-token-with-API-v2/m-p/199487#M9277</link>
      <description>&lt;P&gt;In order to make an API call like /2/files/copy, you do need an access token, and to get an access token, you do need to register an app. (The app registration defines what kind of access the resulting access tokens enable.) There's no harm in registering an app though. You can rename or delete it later if you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first error you got indicates that the token you're passing (in your case the string "null") is invalid.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The second error you got indicates that you registered a&amp;nbsp;Dropbox Business API app, which can only be linked by&amp;nbsp;Dropbox Business team admins. If you're on a Business team and need to be an admin, you'll need to request that change from an existing admin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't need&amp;nbsp;Dropbox Business API functionality though (e.g., /2/files/copy isn't only Business functionality) you can register a&amp;nbsp;Dropbox API app, as opposed to a&amp;nbsp;Dropbox Business API app, here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/apps/create" target="_blank"&gt;https://www.dropbox.com/developers/apps/create&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2016 19:36:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-token-with-API-v2/m-p/199487#M9277</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-12-26T19:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using token with API v2.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-token-with-API-v2/m-p/199494#M9278</link>
      <description>&lt;P&gt;hmmm, ok I understood in parts...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 - what is exaclyt the dropbox business "admins team"&amp;nbsp; ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 &lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;-&amp;nbsp; So, if I create an Dropxbox API instead a Dropbox &lt;EM&gt;Business &lt;/EM&gt;API I can generate a token without any problem?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Thanks for your time,friend! &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 11:20:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-token-with-API-v2/m-p/199494#M9278</guid>
      <dc:creator>Douglas16</dc:creator>
      <dc:date>2016-12-27T11:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using token with API v2.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-token-with-API-v2/m-p/199542#M9285</link>
      <description>&lt;P&gt;1. I'm not sure what&amp;nbsp;part of my message are you referring to when you say "admins team", as I didn't use that exact term, but a Dropbox for Business team is a paid level of&amp;nbsp;Dropbox service built for businesses. Some members of these teams are designated as "admins" and have additional abilities that other members don't.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Yes, using a&amp;nbsp;Dropbox API (not Business) app you can generate a token for your own account. It sounds like you're not on a Business team or trying to use Business functionality, so you should use a normal&amp;nbsp;Dropbox API app.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 15:09:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-token-with-API-v2/m-p/199542#M9285</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-12-27T15:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using token with API v2.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-token-with-API-v2/m-p/199546#M9288</link>
      <description>&lt;P&gt;Thanks for your time dude!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 15:21:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-token-with-API-v2/m-p/199546#M9288</guid>
      <dc:creator>Douglas16</dc:creator>
      <dc:date>2016-12-27T15:21:47Z</dc:date>
    </item>
  </channel>
</rss>

