Forum Discussion

Ahmed eid's avatar
Ahmed eid
New member | Level 2
3 years ago

Re: The underlying connection was closed error.

I have the same Error,

my code:

Dim ver As String = "MY dropbox file URL"
Dim client As WebClient = New WebClient()
Dim reader As StreamReader = New StreamReader(client.OpenRead(ver))

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    3 years ago

    I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:

    • the name and version number of the platform you are using
    • a sample of your "ver" variable, if you can share it publicly, or otherwise a redacted version showing the hostname at least
    • the full text of the error/stack you get

    You can also open an API ticket here if you'd prefer to share privately.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!