We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

J_Matsumoto's avatar
J_Matsumoto
Explorer | Level 4
8 years ago

Confirmation of audit log

I'd like to check the audit log using python module.   TEAM_AUDIT_TOKEN = 'xxxxxxx' dbx_team = dropbox.DropboxTeam(TEAM_AUDIT_TOKEN) dbx_user = dbx_team.as_user("dbmid:xxxxxx") end_time = dt.date...
  • Greg-DB's avatar
    Greg-DB
    8 years ago

    It looks like the issue is the timezone that datetime.now is using by default. When interacting with the API, you should use UTC. So, instead of:

     

    end_time = dt.datetime.now()

     

    you can use:

     

    end_time = dt.datetime.utcnow()

     

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 7 hours ago
325 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!