<?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: scoped app with app folder vs scoped app - same permissions but scoped app will not upload file in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/scoped-app-with-app-folder-vs-scoped-app-same-permissions-but/m-p/448027#M23332</link>
    <description>Thanks Greg. Here is the code. I'll send the exact error message shortly. Public Shared Sub UploadFile(dropboxfilepath As String, windowsfilepath As String, ByRef errormessage As String, accesstoken As String) errormessage = "" Using dc As New DropboxClient(accesstoken) Using body As New IO.FileStream(windowsfilepath, IO.FileMode.Open) Dim ias As IAsyncResult = Nothing Try ias = dc.Files.BeginUpload(dropboxfilepath, Files.WriteMode.Overwrite.Instance, False, Nothing, True, Nothing, False, body) Catch ex As Exception errormessage = ex.Message End Try If errormessage.Length = 0 Then Try Dim fmd As Dropbox.Api.Files.FileMetadata = dc.Files.EndUpload(ias) Catch ex As Exception errormessage = ex.Message End Try ias = Nothing End If End Using End Using End Sub</description>
    <pubDate>Tue, 25 Aug 2020 04:37:39 GMT</pubDate>
    <dc:creator>kondotto</dc:creator>
    <dc:date>2020-08-25T04:37:39Z</dc:date>
    <item>
      <title>scoped app with app folder vs scoped app - same permissions but scoped app will not upload file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/scoped-app-with-app-folder-vs-scoped-app-same-permissions-but/m-p/447539#M23313</link>
      <description>&lt;P&gt;I have created 2 Dropbox Apps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of them is a scoped app with an app folder, and the other is a scoped app which allows complete access to all files in the account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The permissions are identical, but when I try to upload a file using their own respective access tokens, the scoped app with an app folder works, but the scoped app which has completes access returns an error "scope conflict".&lt;/P&gt;</description>
      <pubDate>Sun, 23 Aug 2020 02:22:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/scoped-app-with-app-folder-vs-scoped-app-same-permissions-but/m-p/447539#M23313</guid>
      <dc:creator>kondotto</dc:creator>
      <dc:date>2020-08-23T02:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: scoped app with app folder vs scoped app - same permissions but scoped app will not upload file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/scoped-app-with-app-folder-vs-scoped-app-same-permissions-but/m-p/447891#M23320</link>
      <description>&lt;P&gt;Can you share the code you're using for the upload, as well as the full error/output so I can take a better look at what's happening here?&amp;nbsp;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 15:13:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/scoped-app-with-app-folder-vs-scoped-app-same-permissions-but/m-p/447891#M23320</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-08-24T15:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: scoped app with app folder vs scoped app - same permissions but scoped app will not upload file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/scoped-app-with-app-folder-vs-scoped-app-same-permissions-but/m-p/448027#M23332</link>
      <description>Thanks Greg. Here is the code. I'll send the exact error message shortly. Public Shared Sub UploadFile(dropboxfilepath As String, windowsfilepath As String, ByRef errormessage As String, accesstoken As String) errormessage = "" Using dc As New DropboxClient(accesstoken) Using body As New IO.FileStream(windowsfilepath, IO.FileMode.Open) Dim ias As IAsyncResult = Nothing Try ias = dc.Files.BeginUpload(dropboxfilepath, Files.WriteMode.Overwrite.Instance, False, Nothing, True, Nothing, False, body) Catch ex As Exception errormessage = ex.Message End Try If errormessage.Length = 0 Then Try Dim fmd As Dropbox.Api.Files.FileMetadata = dc.Files.EndUpload(ias) Catch ex As Exception errormessage = ex.Message End Try ias = Nothing End If End Using End Using End Sub</description>
      <pubDate>Tue, 25 Aug 2020 04:37:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/scoped-app-with-app-folder-vs-scoped-app-same-permissions-but/m-p/448027#M23332</guid>
      <dc:creator>kondotto</dc:creator>
      <dc:date>2020-08-25T04:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: scoped app with app folder vs scoped app - same permissions but scoped app will not upload file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/scoped-app-with-app-folder-vs-scoped-app-same-permissions-but/m-p/448335#M23343</link>
      <description>Greg - I received a different error message when trying regenerate the error to upload a file in the "full dropbox" app. It told me that the Access Token had expired, even though I set them not to expire. When I tried to regenerate the Access token, it generated the following message:- "You must be a team administrator to perform this operation". However I did not get have this restriction for the first "full app" that I created. So I created a brand new full app and started from scratch. I could still not generate the access token. Our account is "basic". It does not have Teams. Does that mean I should not be allowed to create a full app in the first place ?</description>
      <pubDate>Wed, 26 Aug 2020 00:53:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/scoped-app-with-app-folder-vs-scoped-app-same-permissions-but/m-p/448335#M23343</guid>
      <dc:creator>kondotto</dc:creator>
      <dc:date>2020-08-26T00:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: scoped app with app folder vs scoped app - same permissions but scoped app will not upload file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/scoped-app-with-app-folder-vs-scoped-app-same-permissions-but/m-p/448486#M23346</link>
      <description>&lt;P&gt;Any access token that starts with "sl." is "short-lived", meaning that it will expire after four hours. Did you perhaps change the expiration setting after retrieving&amp;nbsp;the access token? That wouldn't retroactively affect existing access tokens.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can certainly create and use a "Full Dropbox" app from a non-team account. As for the "You must be a team administrator" error though, that indicates that you selected one or more "team" scopes, which can only be authorized by a team admin. You should deselect any "team scopes" and try again. Also, note that the&lt;SPAN&gt;&amp;nbsp;'files.permanent_delete' scope automatically requires the 'team_data.member' scope, so you can't use 'files.permanent_delete' from a non-team account. If you selected that, you should&amp;nbsp;&lt;/SPAN&gt;uncheck 'files.permanent_delete' and 'team_data.member', submit those changes, and then try generating a token again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 14:39:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/scoped-app-with-app-folder-vs-scoped-app-same-permissions-but/m-p/448486#M23346</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-08-26T14:39:02Z</dc:date>
    </item>
  </channel>
</rss>

