<?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: Error 400 when trying to test Example Sdk-Dotnet in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Error-400-when-trying-to-test-Example-Sdk-Dotnet/m-p/413918#M1162</link>
    <description>&lt;P&gt;Solved.&lt;/P&gt;&lt;P&gt;My bad I was confused with RedirectUri, and code :&lt;/P&gt;&lt;PRE&gt;LoopbackHost = "http://127.0.0.1:52475/";&lt;/PRE&gt;&lt;P&gt;in visual studio.&lt;/P&gt;&lt;P&gt;I edited app console field &amp;lt;redirecturil&amp;gt; to equale &amp;lt;redirecturi var&amp;gt; in the code, to be&lt;/P&gt;&lt;P&gt;&lt;A href="http://127.0.0.1:52475/authorize/" target="_blank"&gt;http://127.0.0.1:52475/authorize/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;not just&lt;/P&gt;&lt;P&gt;&lt;A href="http://127.0.0.1:52475/" target="_blank"&gt;http://127.0.0.1:52475/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;SORRY.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Apr 2020 19:57:11 GMT</pubDate>
    <dc:creator>evry1falls</dc:creator>
    <dc:date>2020-04-24T19:57:11Z</dc:date>
    <item>
      <title>Error 400 when trying to test Example Sdk-Dotnet</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Error-400-when-trying-to-test-Example-Sdk-Dotnet/m-p/413899#M1161</link>
      <description>&lt;P&gt;I get an error (400) when I attempt to test &lt;STRONG&gt;SimpleTest&lt;/STRONG&gt; example from Sdk-dotnet from this &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/tree/b8f5c751f9df6765f4e2bbb98b39bc6bde5cfadc/dropbox-sdk-dotnet/Examples/SimpleTest" target="_blank" rel="noopener"&gt;Link&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;on my machine (Windows 10 32bit 1909) Visual Studio 2015.&lt;/P&gt;
&lt;P&gt;I followed all instructions.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Here is my App Console:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="App Console" style="width: 999px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/15202iE19ACA9A50246A16/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="App Console" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;App Console&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Here is the Code:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt; // This loopback host is for demo purpose. If this port is not
        // available on your machine you need to update this URL with an unused port.
        private const string LoopbackHost = "http://127.0.0.1:52475/";&lt;/PRE&gt;
&lt;P&gt;When I run the project I get this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 977px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/15203i042FA3944C37918C/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;I click (N) or (Y) or (Enter), I get this&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;A href="https://www.dropbox.com/oauth2/authorize?response_type=token&amp;amp;client_id=vrpbk89mvbe014z&amp;amp;redirect_uri=http:%2F%2F127.0.0.1:52475%2Fauthorize&amp;amp;state=35d21a9368224dbcb2f61bb5d2705a74" target="_blank" rel="noopener"&gt;https://www.dropbox.com/oauth2/authorize?response_type=token&amp;amp;client_id=&amp;lt;&lt;STRIKE&gt;MADE_IT_HIDDEN&lt;/STRIKE&gt;&amp;gt;&amp;amp;redirect_uri=http:%2F%2F127.0.0.1:52475%2Fauthorize&amp;amp;state=35d21a9368224dbcb2f61bb5d2705a74&lt;/A&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 644px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/15204iB301FFEB72AB8905/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have IIS installed and working.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;I registered&amp;nbsp;the port&amp;nbsp;52475 and made sure it is unused, like this&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6.png" style="width: 976px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/15207i597EDE3D51CA6AEE/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.png" alt="6.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 05:22:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Error-400-when-trying-to-test-Example-Sdk-Dotnet/m-p/413899#M1161</guid>
      <dc:creator>evry1falls</dc:creator>
      <dc:date>2020-04-27T05:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error 400 when trying to test Example Sdk-Dotnet</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Error-400-when-trying-to-test-Example-Sdk-Dotnet/m-p/413918#M1162</link>
      <description>&lt;P&gt;Solved.&lt;/P&gt;&lt;P&gt;My bad I was confused with RedirectUri, and code :&lt;/P&gt;&lt;PRE&gt;LoopbackHost = "http://127.0.0.1:52475/";&lt;/PRE&gt;&lt;P&gt;in visual studio.&lt;/P&gt;&lt;P&gt;I edited app console field &amp;lt;redirecturil&amp;gt; to equale &amp;lt;redirecturi var&amp;gt; in the code, to be&lt;/P&gt;&lt;P&gt;&lt;A href="http://127.0.0.1:52475/authorize/" target="_blank"&gt;http://127.0.0.1:52475/authorize/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;not just&lt;/P&gt;&lt;P&gt;&lt;A href="http://127.0.0.1:52475/" target="_blank"&gt;http://127.0.0.1:52475/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;SORRY.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 19:57:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Error-400-when-trying-to-test-Example-Sdk-Dotnet/m-p/413918#M1162</guid>
      <dc:creator>evry1falls</dc:creator>
      <dc:date>2020-04-24T19:57:11Z</dc:date>
    </item>
  </channel>
</rss>

