Discuss Dropbox Developer & API
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" }
The documentation for list_recieved_files does indicate that the owner display names are optional return values; they are not guaranteed to be fetched (https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_received_files).
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?
@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.
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.
@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.
Hi there!
If you need more help you can view your support options (expected response time for a 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!