<?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: Seems like I am having security issues with my files when using sharing_get_shared_links in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Seems-like-I-am-having-security-issues-with-my-files-when-using/m-p/709842#M31497</link>
    <description>&lt;P&gt;First, please switch to &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_list_shared_links" target="_blank" rel="nofollow noopener noreferrer"&gt;sharing_list_shared_links&lt;/A&gt; instead of &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_get_shared_links" target="_blank" rel="nofollow noopener noreferrer"&gt;sharing_get_shared_links&lt;/A&gt; (since the latter is deprecated). The code for reading the URLs would work the same way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're still seeing an issue when using &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_list_shared_links" target="_blank" rel="nofollow noopener noreferrer"&gt;sharing_list_shared_links&lt;/A&gt;, please let me know exactly how &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_list_shared_links" target="_blank" rel="nofollow noopener noreferrer"&gt;sharing_list_shared_links&lt;/A&gt; is failing for you (e.g., what error or unexpected output exactly do you get from it) so we can look into it.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 17:44:21 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-08-28T17:44:21Z</dc:date>
    <item>
      <title>Seems like I am having security issues with my files when using sharing_get_shared_links</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Seems-like-I-am-having-security-issues-with-my-files-when-using/m-p/709793#M31496</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;API sharing_get_shared_links succeeds when I first copy the link from the dropbox manually. It shows:&lt;BR /&gt;&lt;A href="https://www.dropbox.com/s/pexagwz8il76t1k/Beach%20Vibes%20-%206x8%20-%20GO%20WEB.jpg?dl=0" target="_blank" rel="noopener"&gt;https://www.dropbox.com/s/pexagwz8il76t1k/Beach%20Vibes%20-%206x8%20-%20GO%20WEB.jpg?dl=0&lt;/A&gt; on Copy Link&lt;BR /&gt;as well as in Python code. No difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The next entry in the folder fails to get &lt;STRONG&gt;sharing_get_shared_links&lt;/STRONG&gt; without me manually doing a Copy Link.&lt;BR /&gt;The &lt;STRONG&gt;sharing_create_shared_link_with_settings&lt;/STRONG&gt; returns:&lt;BR /&gt;CreateSharedLinkWithSettingsError('shared_link_already_exists', SharedLinkAlreadyExistsMetadata('metadata', FileLinkMetadata(client_modified=datetime.datetime(2022, 5, 26, 19, 42, 59), content_owner_team_info=NOT_SET, expires=NOT_SET, id='id:Fpt6TPwBUf0AAAAAAAA-Nw', link_permissions=LinkPermissions(allow_comments=False, allow_download=True, audience_options=[LinkAudienceOption(allowed=True, audience=LinkAudience('public', None), disallowed_reason=NOT_SET), LinkAudienceOption(allowed=True, audience=LinkAudience('team', None), disallowed_reason=NOT_SET), LinkAudienceOption(allowed=True, audience=LinkAudience('no_one', None), disallowed_reason=NOT_SET)],&lt;BR /&gt;can_allow_download=True, can_disallow_download=True, can_remove_expiry=True, can_remove_password=True, can_revoke=True, can_set_expiry=True, can_set_password=True, can_use_extended_sharing_controls=True, effective_audience=LinkAudience('public', None), link_access_level=LinkAccessLevel('viewer', None), requested_visibility=RequestedVisibility('public', None), require_password=False, resolved_visibility=ResolvedVisibility('public', None), revoke_failure_reason=NOT_SET, team_restricts_comments=False, visibility_policies=[VisibilityPolicy(allowed=True, disallowed_reason=NOT_SET, policy=RequestedVisibility('public', None), resolved_policy=AlphaResolvedVisibility('public', None)), VisibilityPolicy(allowed=True, disallowed_reason=NOT_SET, policy=RequestedVisibility('team_only', None), resolved_policy=AlphaResolvedVisibility('team_only', None)), VisibilityPolicy(allowed=True, disallowed_reason=NOT_SET, policy=RequestedVisibility('password', None), resolved_policy=AlphaResolvedVisibility('password', None))]), name='Beach Vibes - 6x8 - GO.jpg', path_lower='/test_app/beach vibes (go)/beach vibes - 6x8 - go.jpg', rev='602ac3dc075db6a49d3d3', server_modified=datetime.datetime(2023, 8, 11, 21, 17, 33), size=68850796, team_member_info=TeamMemberInfo(display_name='Spencer Treadwell', member_id='dbmid:AAD0RjvblA75FwxwxOysVcw5sM1X7rbEfXw', team_info=Team(id='dbtid:AABwTGjgmzPm2JVb_S_Pf5GBZ0wgZwZ2J9w', name='baby dream')), url='&lt;A href="https://www.dropbox.com/scl/fi/7qfp06kxnj965fxgysk64/Beach-Vibes-6x8-GO.jpg?rlkey=hkvkhmvc4wtmog2mhrjueauq2&amp;amp;dl=0" target="_blank" rel="noopener"&gt;https://www.dropbox.com/scl/fi/7qfp06kxnj965fxgysk64/Beach-Vibes-6x8-GO.jpg?rlkey=hkvkhmvc4wtmog2mhrjueauq2&amp;amp;dl=0&lt;/A&gt;')))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I then stop the program and and do a copy link of the failed &lt;STRONG&gt;sharing_get_shared_links&lt;/STRONG&gt; within dropbox and get&lt;BR /&gt;&lt;A href="https://www.dropbox.com/scl/fi/7qfp06kxnj965fxgysk64/Beach-Vibes-6x8-GO.jpg?rlkey=hkvkhmvc4wtmog2mhrjueauq2&amp;amp;dl=0" target="_blank" rel="noopener"&gt;https://www.dropbox.com/scl/fi/7qfp06kxnj965fxgysk64/Beach-Vibes-6x8-GO.jpg?rlkey=hkvkhmvc4wtmog2mhrjueauq2&amp;amp;dl=0&lt;/A&gt; exactly as in the exception. Instead of a /s/ it has a /scl/fi meaning what? What is causing this and how can it be rectified?&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;BR /&gt;Cris Rodriguez&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;try:&lt;/P&gt;
&lt;P&gt;shared_link_metadata = dbx.sharing_get_shared_links(path=save_product_path)&lt;BR /&gt;if shared_link_metadata.links:&lt;BR /&gt;iterator = iter(shared_link_metadata.links)&lt;BR /&gt;for item in iterator:&lt;BR /&gt;shared_link = item.url&lt;BR /&gt;else:&lt;BR /&gt;shared_link_metadata = dbx.sharing_create_shared_link_with_settings(&lt;BR /&gt;save_product_path)&lt;BR /&gt;shared_link = shared_link_metadata.url&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 14:57:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Seems-like-I-am-having-security-issues-with-my-files-when-using/m-p/709793#M31496</guid>
      <dc:creator>babydream</dc:creator>
      <dc:date>2023-08-28T14:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Seems like I am having security issues with my files when using sharing_get_shared_links</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Seems-like-I-am-having-security-issues-with-my-files-when-using/m-p/709842#M31497</link>
      <description>&lt;P&gt;First, please switch to &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_list_shared_links" target="_blank" rel="nofollow noopener noreferrer"&gt;sharing_list_shared_links&lt;/A&gt; instead of &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_get_shared_links" target="_blank" rel="nofollow noopener noreferrer"&gt;sharing_get_shared_links&lt;/A&gt; (since the latter is deprecated). The code for reading the URLs would work the same way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're still seeing an issue when using &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_list_shared_links" target="_blank" rel="nofollow noopener noreferrer"&gt;sharing_list_shared_links&lt;/A&gt;, please let me know exactly how &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_list_shared_links" target="_blank" rel="nofollow noopener noreferrer"&gt;sharing_list_shared_links&lt;/A&gt; is failing for you (e.g., what error or unexpected output exactly do you get from it) so we can look into it.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 17:44:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Seems-like-I-am-having-security-issues-with-my-files-when-using/m-p/709842#M31497</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-08-28T17:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Seems like I am having security issues with my files when using sharing_get_shared_links</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Seems-like-I-am-having-security-issues-with-my-files-when-using/m-p/709902#M31498</link>
      <description>&lt;P&gt;First time I executed the Application the first folder was processed without a hitch but the second one threw an exception that the link couldn't be found or created.&amp;nbsp;&amp;nbsp; I've decided to rerun the application and it ran successfully and once again successfully.&amp;nbsp; I am perplexed.&amp;nbsp; I need to have an answer since I am planning to change our operating procedures which this application is replacing. &amp;nbsp; We cannot have this happen in real time.&amp;nbsp; We would have to go back to manually get these shared links which takes forever. We process approximately 1200 links a day which is stored with our inventory in Shopify and Order Desk Processing.&amp;nbsp; Would appreciate an email to [removed per the &lt;A href="https://www.dropboxforum.com/t5/About-the-Dropbox-Community/Community-Guidelines/td-p/325896" target="_blank"&gt;Dropbox Community Guidelines&lt;/A&gt;] when this issue is resolved.&amp;nbsp;&amp;nbsp; I am the COO and Developer for our firm and I can't move this application until this issue is resolved.&amp;nbsp;&amp;nbsp; It started happening within the last two weeks while I was presenting the product to management and the application had the exception.&amp;nbsp; It never happened before with in the development environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The odd things about the links that are generated today is that the spaces are replaced by a dash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again for your support and quick response.&lt;/P&gt;&lt;P&gt;Cristobal [removed]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the content of the exception:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Date 0/28/2023 4:40 PM&lt;BR /&gt;try:&lt;/P&gt;&lt;P&gt;shared_link_metadata = dbx.sharing_list_shared_links(path=save_product_path)&lt;BR /&gt;if shared_link_metadata.links:&lt;BR /&gt;iterator = iter(shared_link_metadata.links)&lt;BR /&gt;for item in iterator:&lt;BR /&gt;shared_link = item.url&lt;BR /&gt;else:&lt;BR /&gt;shared_link_metadata = dbx.sharing_create_shared_link_with_settings(&lt;BR /&gt;save_product_path)&lt;BR /&gt;shared_link = shared_link_metadata.url&lt;/P&gt;&lt;P&gt;From the Application exception: (didn't find the sharing_list_shared_links nor it couldn't create it.&lt;BR /&gt;&lt;A href="https://www.dropbox.com/scl/fi/t7knlgbwo8s7qpvm8dkxs/Beach-Vibes-Floor-8x8-GO-WEB.jpg?rlkey=dcfqougzun30l4wu9dsawz228&amp;amp;dl=0" target="_blank"&gt;https://www.dropbox.com/scl/fi/t7knlgbwo8s7qpvm8dkxs/Beach-Vibes-Floor-8x8-GO-WEB.jpg?rlkey=dcfqougzun30l4wu9dsawz228&amp;amp;dl=0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From Dropbox Copylink:&lt;BR /&gt;&lt;A href="https://www.dropbox.com/scl/fi/t7knlgbwo8s7qpvm8dkxs/Beach-Vibes-Floor-8x8-GO-WEB.jpg?rlkey=dcfqougzun30l4wu9dsawz228&amp;amp;dl=0" target="_blank"&gt;https://www.dropbox.com/scl/fi/t7knlgbwo8s7qpvm8dkxs/Beach-Vibes-Floor-8x8-GO-WEB.jpg?rlkey=dcfqougzun30l4wu9dsawz228&amp;amp;dl=0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Copy of the exception:&lt;BR /&gt;CreateSharedLinkWithSettingsError('shared_link_already_exists', SharedLinkAlreadyExistsMetadata('metadata', FileLinkMetadata(client_modified=datetime.datetime(2023, 3, 12, 15, 3, 19), content_owner_team_info=NOT_SET, expires=NOT_SET, id='id:Fpt6TPwBUf0AAAAAAAA-YQ', link_permissions=LinkPermissions(allow_comments=False, allow_download=True, audience_options=[LinkAudienceOption(allowed=True, audience=LinkAudience('public', None), disallowed_reason=NOT_SET), LinkAudienceOption(allowed=True, audience=LinkAudience('team', None), disallowed_reason=NOT_SET), LinkAudienceOption(allowed=True, audience=LinkAudience('no_one', None), disallowed_reason=NOT_SET)], can_allow_download=True, can_disallow_download=True, can_remove_expiry=True, can_remove_password=True, can_revoke=True, can_set_expiry=True, can_set_password=True, can_use_extended_sharing_controls=True, effective_audience=LinkAudience('public', None), link_access_level=LinkAccessLevel('viewer', None), requested_visibility=RequestedVisibility('public', None), require_password=False, resolved_visibility=ResolvedVisibility('public', None), revoke_failure_reason=NOT_SET, team_restricts_comments=False, visibility_policies=[VisibilityPolicy(allowed=True, disallowed_reason=NOT_SET, policy=RequestedVisibility('public', None), resolved_policy=AlphaResolvedVisibility('public', None)), VisibilityPolicy(allowed=True, disallowed_reason=NOT_SET, policy=RequestedVisibility('team_only', None), resolved_policy=AlphaResolvedVisibility('team_only', None)), VisibilityPolicy(allowed=True, disallowed_reason=NOT_SET, policy=RequestedVisibility('password', None), resolved_policy=AlphaResolvedVisibility('password', None))]), name='Beach Vibes Floor - 8x8 - GO WEB.jpg', path_lower='/test_app/beach vibes floor (go)/beach vibes floor - 8x8 - go web.jpg', rev='604014631aaaf6a49d3d3', server_modified=datetime.datetime(2023, 8, 28, 20, 9, 39), size=1327923, team_member_info=TeamMemberInfo(display_name='Spencer Treadwell', member_id='dbmid:AAD0RjvblA75FwxwxOysVcw5sM1X7rbEfXw', team_info=Team(id='dbtid:AABwTGjgmzPm2JVb_S_Pf5GBZ0wgZwZ2J9w', name='baby dream')), &lt;STRONG&gt;url='&lt;/STRONG&gt;&lt;A href="https://www.dropbox.com/scl/fi/t7knlgbwo8s7qpvm8dkxs/Beach-Vibes-Floor-8x8-GO-WEB.jpg?rlkey=dcfqougzun30l4wu9dsawz228&amp;amp;dl=0" target="_blank"&gt;&lt;STRONG&gt;https://www.dropbox.com/scl/fi/t7knlgbwo8s7qpvm8dkxs/Beach-Vibes-Floor-8x8-GO-WEB.jpg?rlkey=dcfqougzun30l4wu9dsawz228&amp;amp;dl=0&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt;')&lt;/STRONG&gt;))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 01:35:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Seems-like-I-am-having-security-issues-with-my-files-when-using/m-p/709902#M31498</guid>
      <dc:creator>babydream</dc:creator>
      <dc:date>2023-08-29T01:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Seems like I am having security issues with my files when using sharing_get_shared_links</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Seems-like-I-am-having-security-issues-with-my-files-when-using/m-p/710174#M31499</link>
      <description>&lt;P&gt;Thanks for following up, however I'm having some trouble understanding your messages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you getting any actual error or unexpected output from sharing_list_shared_links in particular? For instance, you said "From the Application exception: (didn't find the sharing_list_shared_links nor it couldn't create it.", but that doesn't seem to be text from an API exception. Can you please share the full error or unexpected output you're getting from that? Please also clarify what response you expected instead. Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for the CreateSharedLinkWithSettingsError 'shared_link_already_exists' error, that would come from dbx.sharing_create_shared_link_with_settings in particular, and is expected if a shared link already exists for the specified item. That seems to be the case here, and the shared link you posted here does seem to be working.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 17:39:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Seems-like-I-am-having-security-issues-with-my-files-when-using/m-p/710174#M31499</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-08-29T17:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Seems like I am having security issues with my files when using sharing_get_shared_links</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Seems-like-I-am-having-security-issues-with-my-files-when-using/m-p/710181#M31500</link>
      <description>&lt;P&gt;Gregg:&lt;/P&gt;&lt;P&gt;Sorry for the confusion, it seems the issues are not there any longer.&amp;nbsp;&amp;nbsp; I ran the application several times without any problems.&amp;nbsp; So let's leave it as is and if I run into the issue again with different folders I will try to be much more explicit than before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you once again for your outstanding support.&lt;/P&gt;&lt;P&gt;Cris&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 17:59:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Seems-like-I-am-having-security-issues-with-my-files-when-using/m-p/710181#M31500</guid>
      <dc:creator>babydream</dc:creator>
      <dc:date>2023-08-29T17:59:08Z</dc:date>
    </item>
  </channel>
</rss>

