<?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 initializing DropboxClient instance in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/problem-initializing-DropboxClient-instance/m-p/246651#M14064</link>
    <description>&lt;P&gt;The constructor and the&amp;nbsp;UploadAsync method don't raise a &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Sharing_SharedLinkError_SharedLinkAccessDenied.htm" target="_self"&gt;SharedLinkAccessDenied&lt;/A&gt;. It looks like you're actually calling &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_GetSharedLinkMetadataAsync_1.htm" target="_self"&gt;GetSharedLinkMetadataAsync&lt;/A&gt;&amp;nbsp;somewhere.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway,&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Sharing_SharedLinkError_SharedLinkAccessDenied.htm" target="_self"&gt;SharedLinkAccessDenied&lt;/A&gt;&amp;nbsp;means that the "caller is not allowed to access this shared link". That is, it sounds like the user for the access token you're using doesn't have access to the shared link you're passing in to&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_GetSharedLinkMetadataAsync_1.htm" target="_self"&gt;GetSharedLinkMetadataAsync&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Oct 2017 19:31:54 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-10-12T19:31:54Z</dc:date>
    <item>
      <title>problem initializing DropboxClient instance</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/problem-initializing-DropboxClient-instance/m-p/246634#M14058</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could achieve file upload from Web API. I get the posted file, and I could upload it to dropbox and get shared URL of the upped file.&lt;/P&gt;&lt;P&gt;However, deploying the app to Azure, I get an exception&amp;nbsp;when creating the DropboxClient object, and all information is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ErrorMessage:&amp;nbsp;"shared_link_access_denied/"&lt;/P&gt;&lt;P&gt;ErrorResponse is a&amp;nbsp;SharedLinkError.SharedLinkAccessDenied&lt;/P&gt;&lt;P&gt;Code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;                    try
                    {
                        dropBoxClient = new DropboxClient(s, new DropboxClientConfig("Forecast5"));
                        remoteFilePath = String.Format("{0}/logo.jpg", formData["id"]);
                        var result = await dropBoxClient.Files.UploadAsync(remoteFilePath, WriteMode.Overwrite.Instance, body: fileStream);
                    }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No idea and what to try. Anyone with a suggestion or idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:18:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/problem-initializing-DropboxClient-instance/m-p/246634#M14058</guid>
      <dc:creator>attilagal</dc:creator>
      <dc:date>2019-05-29T09:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem initializing DropboxClient instance</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/problem-initializing-DropboxClient-instance/m-p/246651#M14064</link>
      <description>&lt;P&gt;The constructor and the&amp;nbsp;UploadAsync method don't raise a &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Sharing_SharedLinkError_SharedLinkAccessDenied.htm" target="_self"&gt;SharedLinkAccessDenied&lt;/A&gt;. It looks like you're actually calling &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_GetSharedLinkMetadataAsync_1.htm" target="_self"&gt;GetSharedLinkMetadataAsync&lt;/A&gt;&amp;nbsp;somewhere.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway,&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Sharing_SharedLinkError_SharedLinkAccessDenied.htm" target="_self"&gt;SharedLinkAccessDenied&lt;/A&gt;&amp;nbsp;means that the "caller is not allowed to access this shared link". That is, it sounds like the user for the access token you're using doesn't have access to the shared link you're passing in to&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_GetSharedLinkMetadataAsync_1.htm" target="_self"&gt;GetSharedLinkMetadataAsync&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 19:31:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/problem-initializing-DropboxClient-instance/m-p/246651#M14064</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-12T19:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: problem initializing DropboxClient instance</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/problem-initializing-DropboxClient-instance/m-p/246719#M14082</link>
      <description>&lt;P&gt;Fuh, you were right!&lt;/P&gt;&lt;P&gt;Due to a bad error handling and awful debugging experience, it was really&amp;nbsp;because of accessing a wrong url as shared link.&lt;/P&gt;&lt;P&gt;Thank you very much!!!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 08:53:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/problem-initializing-DropboxClient-instance/m-p/246719#M14082</guid>
      <dc:creator>attilagal</dc:creator>
      <dc:date>2017-10-13T08:53:32Z</dc:date>
    </item>
  </channel>
</rss>

