Forum Discussion

Alex1110's avatar
Alex1110
Explorer | Level 3
9 months 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
 

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers803 PostsLatest Activity: 5 hours ago
216 Following

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 or Facebook.

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!