Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Alex1110's avatar
Alex1110
Explorer | Level 3
1 year ago

Empty response and has_more true at /team_log/get_events

We are using endpoint /team_log/get_events and with some queryes it returns empty response (randomly). For example
1. URL: https://api.dropboxapi.com/2/team_log/get_events
body: 

 

{
    "limit": 1000,
    "time": {
        "start_time": "2024-01-01T19:48:51Z"
    }
}

 

Response

 

{
    "events": [],
    "cursor": "AAB0zDiP0dP_Yxqh0JE4cmAp1bVGd3a....",
    "has_more": true
}

 

 

2. URL: https://api.dropboxapi.com/2/team_log/get_events
body:  (increase day)

 

{
    "limit": 1000,
    "time": {
        "start_time": "2024-01-24T20:49:51Z"
    }
}

 

Response

 

{
    "events": [{}], // 1000 events
    "cursor": "AAB0zDiP0dP_Yxqh0JE4cmAp1bVGd3a....",
    "has_more": true
}

 

 

The most interesting. 
This startDate - "2024-01-23T23:46:10Z" returns empty array and has_more: true
This startDate - "2024-01-23T23:46:11Z" returns array with 1000 elements and has_more: true
 

3 Replies

About Discuss Dropbox Developer and API

Node avatar for Discuss Dropbox Developer and API
Explore Dropbox Developer & API discussions with developers like you.

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!