Forum Discussion

Info V.1's avatar
Info V.1
Collaborator | Level 8
6 years ago

get_account_batch error 409

Hi There,

For one of our customer we are getting 409 when making "get_account_batch". With error saying the account does not exists. 

I am trying to reproduce the error, so I deleted one user from our dropbox account, but even after deleting the user I still get valid response for the api "get_account_batch".

Do I have to wait for some time before I start seeing the error for the delted user?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Yes, data for individual accounts take some time to be fully deleted. You can find more information here:

    https://www.dropbox.com/help/security/delete-account

    Note that a successful /2/users/get_account_batch response will contain a 'disabled" property for each account to indicated if it is deleted. Also, if you just deleted a member on a team, that will just be considered a deleted member of the team and you will continue to be able to look it up.

    If you want to test a failed call, here's a sample account ID this is no longer valid: 'dbid:AAAVrxXoItpge28Zx_8dPIStqC8n3NCwumU'.

    • Info V.1's avatar
      Info V.1
      Collaborator | Level 8

      Thanks for the repsonse , actually I wanted to test a case where I have files uploaded by a user account then delete the account. So, I cant use the id provided by you. 

      Anyway I will wait for the account to be deleted.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 2 hours ago
352 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!