You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Malagann
6 years agoExplorer | Level 3
Webhook URI response in C# / .NET
Good afternoon. I'm trying to set-up a webhooks on a C#/webform solution but every tutorial I found was either in python or .NET MVC. Would you have a link for a relevant tutorial ? I'm stuck alrea...
- 6 years ago
That error seems to indicate that Dropbox couldn't get any response from your server. Is your URL globally Internet accessible? Are you sure your handler code is set up to respond on that particular "/jaguarVoDropbox/updateJaguarMedia.aspx" route?
If that all seems to be set up right, feel free to open an API ticket with the actual URL so we can check on it for you: https://www.dropbox.com/developers/contact
Greg-DB
Dropbox Staff
I don't believe we have a webhook sample app or tutorial in C# in particular, unfortunately. I'll send this along as a request for one, but I can't promise if/when one might be written.
I'll be happy to try and offer whatever help I can though. Can you share what you have so far, and what error you're getting?
Malagann
6 years agoExplorer | Level 3
Hello, thanks for taking the time.
I'm simply trying to get an URI on the app/dropbox page to get started.
I've set up a URI which write a response with the specified headers of the tutorial.
Code :Response.ContentType = "text/plain";
Response.Headers.Add("X-Content-Type-Options", "nosniff");
Response.Write(Request.Params["challenge"]);
Response.End();
Perhaps I'm just terribly wrong and have completly misunderstood the tuto' (you know what they say about the error sitting between the keyboard and the chair) and I'm doing it the wrong way on the all echo back the challenge ?
So far, that's being my issue. I have no trouble navigating, downloading files with the dropbox api but the whole webhook thing is puzzling me for now.
Thanks !
- Greg-DB6 years agoDropbox Staff
Thanks! Nothing looks obviously wrong there. What error are you getting?
E.g., if something is failing when running this code, what do you get in your log? Or, if the connection from Dropbox isn't succeeding, what do you get in webhook error output on your app's page on the App Console?
- Malagann6 years agoExplorer | Level 3
Heyo again, the code runs without error but on the app page I'm told that :
code a écrit :Error: Did not receive response from server.
Response:
(No headers)Response Body (First 256 bytes):
(No response body)I hide our url but if you need it could I maybe give it to you in mp ? Or hide it behind admin tag ?
- Greg-DB6 years agoDropbox Staff
That error seems to indicate that Dropbox couldn't get any response from your server. Is your URL globally Internet accessible? Are you sure your handler code is set up to respond on that particular "/jaguarVoDropbox/updateJaguarMedia.aspx" route?
If that all seems to be set up right, feel free to open an API ticket with the actual URL so we can check on it for you: https://www.dropbox.com/developers/contact
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 12 hours agoIf 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!