Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

mukund's avatar
mukund
Explorer | Level 3
5 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" }

 

 

 

5 Replies

  • mukund's avatar
    mukund
    Explorer | Level 3
    5 years ago

    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 Community Moderator rankDropbox Community Moderator
    5 years ago

    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.

  • mobilizer's avatar
    mobilizer
    New member | Level 2
    3 years ago

    I am having the same issue. This information is very important so that the user knows who shared the file with them. If there is another way to access such details for a shared file, please let me know, otherwise it would be good to see the owner details returned with the api response.

     

    Thanks for your help.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    3 years ago

    mobilizer Thanks for the note! I don't have any updates or other solution to add here, but I'll follow up if/when I do.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers

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!