Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
umor
7 years agoExplorer | Level 4
Error in Auditlog API with start date parameter
Hello,
I am facing issue while verifying Curl Dropbox API in json for audit logs by specifying start time and end time, Kindly help me to solve this issue
curl -X POST https://api.dropboxapi.com/...
- 7 years ago
Hi umor,
Can you clarify, why you expect that parameters "start_date" and "end_date" are available? As far as I can see in documentation only available are "limit", "account_id", "time" and "category". :thinking:
If you want to use "start_date" and "end_date", have to 'catch' them in "time" parameter. (format="%Y-%m-%dT%H:%M:%SZ") :wink:
Hope this helps.
Здравко
7 years agoLegendary | Level 20
Hi umor,
Can you clarify, why you expect that parameters "start_date" and "end_date" are available? As far as I can see in documentation only available are "limit", "account_id", "time" and "category". :thinking:
If you want to use "start_date" and "end_date", have to 'catch' them in "time" parameter. (format="%Y-%m-%dT%H:%M:%SZ") :wink:
Hope this helps.
Greg-DB
Dropbox Community Moderator
7 years agoumor Здравко is correct, your datetime strings need to be quoted, and nested inside the "time" parameter, per the documentation.
I recommend using the API v2 Explorer to help prototype these calls. It can build the code for you. (Click "Show Code".)
In your actual app's code, we recommend using a JSON library to build the JSON for you, as that will be much less error-prone than attempting to write it by hand.
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!