<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to list linked devices in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/261223#M15237</link>
    <description>That ValidationError should be fixed in the latest release of the Python SDK, currently v8.6.0. Please update to that and try again.</description>
    <pubDate>Thu, 18 Jan 2018 17:06:42 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-01-18T17:06:42Z</dc:date>
    <item>
      <title>Unable to list linked devices</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/260228#M15145</link>
      <description>&lt;P&gt;We want our app to be able to list linked devices without having access to files. We've granted the app the "Team auditing" permission type but when we try using the&amp;nbsp;&lt;SPAN&gt;team_devices_list_team_devices() method we get a permissions error. Please advise, thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:16:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/260228#M15145</guid>
      <dc:creator>aldo195</dc:creator>
      <dc:date>2019-05-29T09:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to list linked devices</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/260494#M15161</link>
      <description>This functionality is only available to the "team member file access" permission. There isn't a way around that unfortunately. Apologies I don't have better news for you!</description>
      <pubDate>Mon, 15 Jan 2018 16:47:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/260494#M15161</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-01-15T16:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to list linked devices</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/260503#M15165</link>
      <description>&lt;P&gt;Is there a way to get some details about the devices (e.g. just the name) in one of the generated reports? Those are accessible to the audit user.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 17:02:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/260503#M15165</guid>
      <dc:creator>aldo195</dc:creator>
      <dc:date>2018-01-15T17:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to list linked devices</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/260529#M15169</link>
      <description>&lt;P&gt;The &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.DropboxTeam.team_reports_get_devices" target="_self"&gt;team_reports_get_devices&lt;/A&gt;,&amp;nbsp;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.team_log_get_events" target="_blank"&gt;team_log_get_events&lt;/A&gt;, and &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.team_log_get_events_continue" target="_self"&gt;team_log_get_events_continue&lt;/A&gt;&amp;nbsp;methods are accessible to team auditing apps, so you can use those if they're sufficient for your use case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.DropboxTeam.team_reports_get_devices" target="_self"&gt;team_reports_get_devices&lt;/A&gt;&amp;nbsp;method gives you statistics about the numbers of devices, but&amp;nbsp;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.team_log_get_events" target="_blank"&gt;team_log_get_events&lt;/A&gt;&lt;SPAN&gt;, and&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.dropbox.Dropbox.team_log_get_events_continue" target="_self"&gt;team_log_get_events_continue&lt;/A&gt;&amp;nbsp;do give some information about specific devices e.g., via &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.team_log.EventType.device_link_success" target="_self"&gt;EventType.device_link_success&lt;/A&gt;&amp;nbsp;with&amp;nbsp;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.team_log.DeviceLinkSuccessDetails" target="_blank"&gt;DeviceLinkSuccessDetails&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 17:56:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/260529#M15169</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-01-15T17:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to list linked devices</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/260535#M15171</link>
      <description>Great, that sounds promising. Can you point me to a code example of how to use team_log_get_events? When I run it as below it returns an error. &lt;BR /&gt;&lt;BR /&gt;d = dbx.as_user('dbmid:XXXX')&lt;BR /&gt;d.team_log_get_events() &lt;BR /&gt;&lt;BR /&gt;---------------------------------------------------------------------------&lt;BR /&gt;ValidationError                           Traceback (most recent call last)&lt;BR /&gt;&amp;lt;ipython-input-71-2e4c22857f63&amp;gt; in &amp;lt;module&amp;gt;()&lt;BR /&gt;----&amp;gt; 1 d.team_log_get_events()&lt;BR /&gt;&lt;BR /&gt;~/anaconda3/lib/python3.6/site-packages/dropbox/base.py in team_log_get_events(self, limit, account_id, time, category)&lt;BR /&gt;   4100             'team_log',&lt;BR /&gt;   4101             arg,&lt;BR /&gt;-&amp;gt; 4102             None,&lt;BR /&gt;   4103         )&lt;BR /&gt;   4104         return r&lt;BR /&gt;&lt;BR /&gt;~/anaconda3/lib/python3.6/site-packages/dropbox/dropbox.py in request(self, route, namespace, request_arg, request_binary, timeout)&lt;BR /&gt;    248 &lt;BR /&gt;    249         deserialized_result = stone_serializers.json_compat_obj_decode(&lt;BR /&gt;--&amp;gt; 250             returned_data_type, obj, strict=False)&lt;BR /&gt;    251 &lt;BR /&gt;    252         if isinstance(res, RouteErrorResult):&lt;BR /&gt;&lt;BR /&gt;~/anaconda3/lib/python3.6/site-packages/dropbox/stone_serializers.py in json_compat_obj_decode(data_type, obj, caller_permissions, alias_validators, strict, old_style, for_msgpack)&lt;BR /&gt;    978     else:&lt;BR /&gt;    979         return decoder.json_compat_obj_decode_helper(&lt;BR /&gt;--&amp;gt; 980             data_type, obj)&lt;BR /&gt;    981 &lt;BR /&gt;    982 # Adapted from:&lt;BR /&gt;&lt;BR /&gt;~/anaconda3/lib/python3.6/site-packages/dropbox/stone_serializers.py in json_compat_obj_decode_helper(self, data_type, obj)&lt;BR /&gt;    557             return self.decode_struct_tree(data_type, obj)&lt;BR /&gt;    558         elif isinstance(data_type, bv.Struct):&lt;BR /&gt;--&amp;gt; 559             return self.decode_struct(data_type, obj)&lt;BR /&gt;    560         elif isinstance(data_type, bv.Union):&lt;BR /&gt;    561             if self.old_style:&lt;BR /&gt;&lt;BR /&gt;~/anaconda3/lib/python3.6/site-packages/dropbox/stone_serializers.py in decode_struct(self, data_type, obj)&lt;BR /&gt;    606                     raise bv.ValidationError("unknown field '%s'" % key)&lt;BR /&gt;    607         ins = data_type.definition()&lt;BR /&gt;--&amp;gt; 608         self.decode_struct_fields(ins, all_fields, obj)&lt;BR /&gt;    609         # Check that all required fields have been set.&lt;BR /&gt;    610         data_type.validate_fields_only_with_permissions(ins, self.caller_permissions)&lt;BR /&gt;&lt;BR /&gt;~/anaconda3/lib/python3.6/site-packages/dropbox/stone_serializers.py in decode_struct_fields(self, ins, fields, obj)&lt;BR /&gt;    625             if name in obj:&lt;BR /&gt;    626                 try:&lt;BR /&gt;--&amp;gt; 627                     v = self.json_compat_obj_decode_helper(field_data_type, obj[name])&lt;BR /&gt;    628                     setattr(ins, name, v)&lt;BR /&gt;    629                 except bv.ValidationError as e:&lt;BR /&gt;&lt;BR /&gt;~/anaconda3/lib/python3.6/site-packages/dropbox/stone_serializers.py in json_compat_obj_decode_helper(self, data_type, obj)&lt;BR /&gt;    565         elif isinstance(data_type, bv.List):&lt;BR /&gt;    566             return self.decode_list(&lt;BR /&gt;--&amp;gt; 567                 data_type, obj)&lt;BR /&gt;    568         elif isinstance(data_type, bv.Map):&lt;BR /&gt;    569             return self.decode_map(&lt;BR /&gt;&lt;BR /&gt;~/anaconda3/lib/python3.6/site-packages/dropbox/stone_serializers.py in decode_list(self, data_type, obj)&lt;BR /&gt;    844         return [&lt;BR /&gt;    845             self.json_compat_obj_decode_helper(data_type.item_validator, item)&lt;BR /&gt;--&amp;gt; 846             for item in obj]&lt;BR /&gt;    847 &lt;BR /&gt;    848     def decode_map(self, data_type, obj):&lt;BR /&gt;&lt;BR /&gt;~/anaconda3/lib/python3.6/site-packages/dropbox/stone_serializers.py in &amp;lt;listcomp&amp;gt;(.0)&lt;BR /&gt;    844         return [&lt;BR /&gt;    845             self.json_compat_obj_decode_helper(data_type.item_validator, item)&lt;BR /&gt;--&amp;gt; 846             for item in obj]&lt;BR /&gt;    847 &lt;BR /&gt;    848     def decode_map(self, data_type, obj):&lt;BR /&gt;&lt;BR /&gt;~/anaconda3/lib/python3.6/site-packages/dropbox/stone_serializers.py in json_compat_obj_decode_helper(self, data_type, obj)&lt;BR /&gt;    557             return self.decode_struct_tree(data_type, obj)&lt;BR /&gt;    558         elif isinstance(data_type, bv.Struct):&lt;BR /&gt;--&amp;gt; 559             return self.decode_struct(data_type, obj)&lt;BR /&gt;    560         elif isinstance(data_type, bv.Union):&lt;BR /&gt;    561             if self.old_style:&lt;BR /&gt;&lt;BR /&gt;~/anaconda3/lib/python3.6/site-packages/dropbox/stone_serializers.py in decode_struct(self, data_type, obj)&lt;BR /&gt;    608         self.decode_struct_fields(ins, all_fields, obj)&lt;BR /&gt;    609         # Check that all required fields have been set.&lt;BR /&gt;--&amp;gt; 610         data_type.validate_fields_only_with_permissions(ins, self.caller_permissions)&lt;BR /&gt;    611         return ins&lt;BR /&gt;    612 &lt;BR /&gt;&lt;BR /&gt;~/anaconda3/lib/python3.6/site-packages/dropbox/stone_validators.py in validate_fields_only_with_permissions(self, val, caller_permissions)&lt;BR /&gt;    489         Should only be called for callers with extra permissions.&lt;BR /&gt;    490         """&lt;BR /&gt;--&amp;gt; 491         self.validate_fields_only(val)&lt;BR /&gt;    492 &lt;BR /&gt;    493         # check if type has been patched&lt;BR /&gt;&lt;BR /&gt;~/anaconda3/lib/python3.6/site-packages/dropbox/stone_validators.py in validate_fields_only(self, val)&lt;BR /&gt;    480             if not hasattr(val, field_name):&lt;BR /&gt;    481                 raise ValidationError("missing required field '%s'" %&lt;BR /&gt;--&amp;gt; 482                                       field_name)&lt;BR /&gt;    483 &lt;BR /&gt;    484     def validate_fields_only_with_permissions(self, val, caller_permissions):&lt;BR /&gt;&lt;BR /&gt;ValidationError: events: missing required field 'involve_non_team_member'&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jan 2018 18:05:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/260535#M15171</guid>
      <dc:creator>aldo195</dc:creator>
      <dc:date>2018-01-15T18:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to list linked devices</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/260547#M15173</link>
      <description>Interestingly, this works: &lt;BR /&gt;&lt;BR /&gt;d.team_log_get_events(limit=None, account_id=None, category=dropbox.team_log.EventCategory.members)&lt;BR /&gt;&lt;BR /&gt;But this returns the error: &lt;BR /&gt;&lt;BR /&gt;d.team_log_get_events(limit=None, account_id=None, category=dropbox.team_log.EventCategory.devices)</description>
      <pubDate>Mon, 15 Jan 2018 18:30:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/260547#M15173</guid>
      <dc:creator>aldo195</dc:creator>
      <dc:date>2018-01-15T18:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to list linked devices</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/260577#M15174</link>
      <description>That code looks right, but there's currently an issue with the SDK that can result in that ValidationError. We're looking into it. I'll let you know when I have an update on it.</description>
      <pubDate>Mon, 15 Jan 2018 18:52:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/260577#M15174</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-01-15T18:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to list linked devices</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/261223#M15237</link>
      <description>That ValidationError should be fixed in the latest release of the Python SDK, currently v8.6.0. Please update to that and try again.</description>
      <pubDate>Thu, 18 Jan 2018 17:06:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-list-linked-devices/m-p/261223#M15237</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-01-18T17:06:42Z</dc:date>
    </item>
  </channel>
</rss>

