<?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 SharingFileAccessError (no_permission) while trying to call add_file_member in a CSV file in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SharingFileAccessError-no-permission-while-trying-to-call-add/m-p/436373#M23028</link>
    <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have in our system the ability to add user permissions to a specific file in Dropbox. It's currently working pretty well for ".XLSX" files for example. But while debugging, I found that for CSV files are not working and actually giving no permission error instead of something like "not supported". In the documentation, I didn't find anything that mentions this as well. It's really unsupported? Are you guys planning to implement this also for CSV files?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jul 2020 14:57:16 GMT</pubDate>
    <dc:creator>rodrigo-sheetgo</dc:creator>
    <dc:date>2020-07-10T14:57:16Z</dc:date>
    <item>
      <title>SharingFileAccessError (no_permission) while trying to call add_file_member in a CSV file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SharingFileAccessError-no-permission-while-trying-to-call-add/m-p/436373#M23028</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have in our system the ability to add user permissions to a specific file in Dropbox. It's currently working pretty well for ".XLSX" files for example. But while debugging, I found that for CSV files are not working and actually giving no permission error instead of something like "not supported". In the documentation, I didn't find anything that mentions this as well. It's really unsupported? Are you guys planning to implement this also for CSV files?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 14:57:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SharingFileAccessError-no-permission-while-trying-to-call-add/m-p/436373#M23028</guid>
      <dc:creator>rodrigo-sheetgo</dc:creator>
      <dc:date>2020-07-10T14:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: SharingFileAccessError (no_permission) while trying to call add_file_member in a CSV file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SharingFileAccessError-no-permission-while-trying-to-call-add/m-p/436391#M23031</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The particular file type shouldn't matter when sharing a file. I'll be happy to help with this issue, but I'll need some more information. Please reply with:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt; the name and version number of the platform and SDK/library you are using, if any&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;the steps to reproduce the issue, including relevant code snippet(s), but please don't include your access token&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;the full text of the error or unexpected output&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 10 Jul 2020 15:44:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SharingFileAccessError-no-permission-while-trying-to-call-add/m-p/436391#M23031</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-07-10T15:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: SharingFileAccessError (no_permission) while trying to call add_file_member in a CSV file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SharingFileAccessError-no-permission-while-trying-to-call-add/m-p/436431#M23036</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please follow the answers to your questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;we are using the Dropbox library for Python (9.5.0)&lt;/LI&gt;&lt;LI&gt;Code Snippet:&lt;UL&gt;&lt;LI&gt;&lt;PRE&gt;try:
    members_selectors = []
    for member_email in members:
        member_selector = MemberSelector.email(member_email)
        members_selectors.append(member_selector)
    self.service.sharing_add_file_member(file_id, members_selectors, access_level=AccessLevel.editor, quiet=True)
except ApiError as e:
    raise Exception(repr(e))&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Error:&lt;UL&gt;&lt;LI&gt;&lt;PRE&gt;&amp;gt; e.error
&amp;gt; AddFileMemberError('access_error', SharingFileAccessError('no_permission', None))

&amp;gt; e.args
&amp;gt;AddFileMemberError('access_error', SharingFileAccessError('no_permission', None))
invalid_comment:AddFileMemberError('invalid_comment', None)
other:AddFileMemberError('other', None)
rate_limit:AddFileMemberError('rate_limit', None)
_access_error_validator:&amp;lt;dropbox.stone_validators.Union object at 0x7fdea329ce48&amp;gt;
_catch_all:'other'
_get_val_data_type:&amp;lt;bound method Union._get_val_data_type of &amp;lt;class 'dropbox.sharing.AddFileMemberError'&amp;gt;&amp;gt;
_invalid_comment_validator:&amp;lt;dropbox.stone_validators.Void object at 0x7fdea32432e8&amp;gt;
_is_tag_present:&amp;lt;bound method Union._is_tag_present of &amp;lt;class 'dropbox.sharing.AddFileMemberError'&amp;gt;&amp;gt;
_other_validator:&amp;lt;dropbox.stone_validators.Void object at 0x7fdea3243390&amp;gt;
_permissioned_tagmaps:{}
_process_custom_annotations:&amp;lt;bound method AddFileMemberError._process_custom_annotations of AddFileMemberError('access_error', SharingFileAccessError('no_permission', None))&amp;gt;&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 10 Jul 2020 17:32:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SharingFileAccessError-no-permission-while-trying-to-call-add/m-p/436431#M23036</guid>
      <dc:creator>rodrigo-sheetgo</dc:creator>
      <dc:date>2020-07-10T17:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: SharingFileAccessError (no_permission) while trying to call add_file_member in a CSV file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SharingFileAccessError-no-permission-while-trying-to-call-add/m-p/436473#M23040</link>
      <description>&lt;P&gt;I see, thanks for the information, and apologies, I didn't realize you were talking about using the 'AccessLevel.editor' level. For this level, the ability to edit the file will depend on the the cloud editor integrations, such as for "Google Sheets" and "Excel for the web". These integrations don't support .csv files unfortunately. I'll pass this along as a feature request though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can still share .csv files like this, but you'd need to either use the&amp;nbsp;AccessLevel.viewer level, or instead share a parent folder using &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox.Dropbox.sharing_share_folder" target="_self"&gt;sharing_share_folder&lt;/A&gt;/&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox.Dropbox.sharing_add_file_member" target="_self"&gt;sharing_add_folder_member&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 19:42:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SharingFileAccessError-no-permission-while-trying-to-call-add/m-p/436473#M23040</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-07-10T19:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: SharingFileAccessError (no_permission) while trying to call add_file_member in a CSV file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SharingFileAccessError-no-permission-while-trying-to-call-add/m-p/436487#M23045</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry that I wasn't so clear about setting the user as an editor, not just as a viewer. Thanks for the tips for the parent folder and access level viewer. But right now we really would need in this case the editor one. Thanks for taking this as a feature.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 20:23:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/SharingFileAccessError-no-permission-while-trying-to-call-add/m-p/436487#M23045</guid>
      <dc:creator>rodrigo-sheetgo</dc:creator>
      <dc:date>2020-07-10T20:23:06Z</dc:date>
    </item>
  </channel>
</rss>

