One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
evry1falls
5 years agoCollaborator | Level 8
Error 400 when trying to test Example Sdk-Dotnet
I get an error (400) when I attempt to test SimpleTest example from Sdk-dotnet from this Link
on my machine (Windows 10 32bit 1909) Visual Studio 2015.
I followed all instructions.
Here is my App Console:
App Console
Here is the Code:
// 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/";
When I run the project I get this
I click (N) or (Y) or (Enter), I get this
I have IIS installed and working.
I registered the port 52475 and made sure it is unused, like this
Solved.
My bad I was confused with RedirectUri, and code :
LoopbackHost = "http://127.0.0.1:52475/";
in visual studio.
I edited app console field <redirecturil> to equale <redirecturi var> in the code, to be
http://127.0.0.1:52475/authorize/
not just
SORRY.
- evry1fallsCollaborator | Level 8
Solved.
My bad I was confused with RedirectUri, and code :
LoopbackHost = "http://127.0.0.1:52475/";
in visual studio.
I edited app console field <redirecturil> to equale <redirecturi var> in the code, to be
http://127.0.0.1:52475/authorize/
not just
SORRY.
About Discuss Dropbox Developer & API
Make connections with other developers807 PostsLatest Activity: 4 hours ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!