We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Bob D.20
10 years agoNew member | Level 1
Obtaining shared link from VBA (API v2) - 409 Conflict
I have the following code which I modified slightly from this link. The return is a 409 Conflict error. I believe the issue lies in how I'm structuring the path string, but I admit to this being well...
Bob D.20
10 years agoNew member | Level 1
The file does exist at Desktop Work File/33602DOX.pdf.
In the code line "arg = "{"path": "/" & filename & "}", I assumed path to be the folder string, and filename to be the document string. However, upon further review of the API documentation, I see that is a misunderstanding. I worked the script a bit, but still produce the same error.
Here is the sample arg line from the API doc: {"path": "/Prime_Numbers.txt"}
Here is the line I am passing in my arg: {"path": "/Desktop Work File/33602DOX.pdf"}
I'm not seeing why my arg is not working...it appears functionally identical to the sample, but clearly is not.
Please understand - I am not a programmer or IT specialist; this is a tool I am trying to use to improve my workflow, and I do not fully understand it. Can you help me understand how I should be structuring the arg message? I realize VBA may not be your forte, but if I can come to an understanding on the proper structure that I'm supposed to be sending, I should be able to make it work in VBA. (I've reviewed the API documentation, but I don't understand a lot of that without full-blown samples to experiment with - which is where the original script I linked to comes in....)
Thank you!
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!