Forum Discussion

mukund's avatar
mukund
Explorer | Level 3
4 years ago

Not getting owner details in list_received_files api response

Hello,

I am using Dropbox_User_Endpoints.

I am trying to access owner name of files which are shared to me(Received files).

As per document it should shows "owner_display_names" field but I am not receiving it.

api: https://api.dropboxapi.com/2/sharing/list_received_files

Response:

{ "access_type": { ".tag": "viewer" }, "id": "id:Ke9OphgV2zsAAAAAAAAAHw", "name": "Screenshot 2021-04-09 at 11.54.18 AM.png", "owner_team": { "id": "dbtid:AAA0C48MwJeb2bk98ri5iW4f7q0yK3sCIAY", "name": "cms" }, "policy": { "member_policy": { ".tag": "anyone" }, "resolved_member_policy": { ".tag": "anyone" }, "acl_update_policy": { ".tag": "editors" }, "shared_link_policy": { ".tag": "anyone" }, "viewer_info_policy": { ".tag": "enabled" } }, "preview_url": "https://www.dropbox.com/scl/fi/zo9fd9ye20tmp74wll7db/Screenshot-2021-04-09-at-11.54.18-AM.png?dl=0", "time_invited": "2021-05-05T07:51:33Z" }

 

 

 

    • mukund's avatar
      mukund
      Explorer | Level 3

      May I know the reasons of this field to be absent? 

      Is it possible that I am not an admin and using user api's so I can't access team details? Or there are other reason for not getting owner info?

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

        mukund Unfortunately I don't have more specific information to share as to when 'owner_display_names' should or shouldn't be expected in the response. I'll send this along to the team to request more specific documentation on that, but I can't promise if/when that would be updated.