So...I made a call to `list_shared_links` precisely because a call to create a shared link said the link already existed...I didn't cache some of them originally...so I was writing code to detect this error and list shared links so it could cache them...but it's saying I have no files in a folder I know that I do....
curl -X POST https://api.dropboxapi.com/2/sharing/list_shared_links \
--header 'Authorization: Bearer <token here>' \
--header 'Content-Type: application/json' \
--data '{"path":"/_Johnson'\''s Heavy Salvage/salvage folders/67918 - 2012 Kenworth T660 - CJ/Original"}'
I had my token in the curl command above and got:
{"links": [], "has_more": false}
But when I had it list all shared links without a path...it showed other folders...I copied the path line from the results and used it in a curl call...and it showed no shared links either...despite the fact it did in the API Explorer...but only if you put no path in...
Any help with this would be appreciated. I can't create new shared links to the files I'm calling for because it says they already exist...so my hands are tied.
Actually I do have one more question...
=====CreateSharedLink.ERROR: 'shared_link_already_exists/metadata/..'
The previous is one of my debug lines...the error returned has metadata/.., but sometimes it's ..., or ., sometimes no dots...I'm not sure if this is a Dropbox thing...or some byproduct of the Go library I'm using to access the Dropbox API.
Thanks, Steve