We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
ERS R.
10 years agoExplorer | Level 3
Converting from V1 to V2
Working in VBA.
The following V1 code works:
Sub DeleteFile(filename As String) Dim req As MSXML2.ServerXMLHTTP60 Dim Result As String Dim Pos1 As Integer Dim Pos2 As Integer ...
Steve M.
Dropbox Staff
10 years agoI'm not sure why you're getting that error, since you appear to be sending a request body.
But note that you're missing this:
req.setRequestHeader "Content-Type", "application/json"
and this line:
req.send (arg)
should really be this (but I don't think the extra parentheses are causing issues):
req.send arg
About 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!