<?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 files_list_folder returning 500 Internal Server Error in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-list-folder-returning-500-Internal-Server-Error/m-p/698475#M31189</link>
    <description>&lt;P&gt;# from src.dropbox_plugin.dropbox_extension import DropBoxExtension&lt;BR /&gt;import dropbox&lt;BR /&gt;import os&lt;/P&gt;&lt;P&gt;drop = dropbox.Dropbox(oauth2_access_token='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',&lt;BR /&gt;oauth2_refresh_token='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',&lt;BR /&gt;app_key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', app_secret='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;def get_all_files_from_public_url(dropboxs, root_folder, root_shared_link, all_files):&lt;BR /&gt;root_folder2 = ''&lt;BR /&gt;if root_folder:&lt;BR /&gt;root_folder2 = f'/{root_folder}'&lt;BR /&gt;entries = drop.files_list_folder(path=root_folder2, shared_link=root_shared_link)&lt;BR /&gt;print('done for')&lt;BR /&gt;while True:&lt;BR /&gt;for file in entries.entries:&lt;BR /&gt;if isinstance(file, dropbox.files.FolderMetadata):&lt;BR /&gt;get_all_files_from_public_url(dropboxs, os.path.join(root_folder, file.name), root_shared_link,&lt;BR /&gt;all_files)&lt;BR /&gt;else:&lt;BR /&gt;all_files.append(os.path.join(root_folder, file.name))&lt;BR /&gt;if not entries.has_more:&lt;BR /&gt;break&lt;BR /&gt;entries = drop.files_list_folder_continue(entries.cursor)&lt;/P&gt;&lt;P&gt;data = []&lt;BR /&gt;link = dropbox.files.SharedLink(url='&lt;A href="https://www.dropbox.com/scl/fo/cycmeqthp4kerxusxo9yt/h?rlkey=r9zd7ee6r7chhnwrui59m94d4&amp;amp;dl=0" target="_blank"&gt;https://www.dropbox.com/scl/fo/cycmeqthp4kerxusxo9yt/h?rlkey=r9zd7ee6r7chhnwrui59m94d4&amp;amp;dl=0&lt;/A&gt;')&lt;BR /&gt;get_all_files_from_public_url(&lt;BR /&gt;drop, '', link, data)&lt;/P&gt;&lt;P&gt;# 11.25.0&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 08:26:01 GMT</pubDate>
    <dc:creator>Jagadeesh</dc:creator>
    <dc:date>2023-07-13T08:26:01Z</dc:date>
    <item>
      <title>files_list_folder returning 500 Internal Server Error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-list-folder-returning-500-Internal-Server-Error/m-p/698475#M31189</link>
      <description>&lt;P&gt;# from src.dropbox_plugin.dropbox_extension import DropBoxExtension&lt;BR /&gt;import dropbox&lt;BR /&gt;import os&lt;/P&gt;&lt;P&gt;drop = dropbox.Dropbox(oauth2_access_token='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',&lt;BR /&gt;oauth2_refresh_token='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',&lt;BR /&gt;app_key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', app_secret='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;def get_all_files_from_public_url(dropboxs, root_folder, root_shared_link, all_files):&lt;BR /&gt;root_folder2 = ''&lt;BR /&gt;if root_folder:&lt;BR /&gt;root_folder2 = f'/{root_folder}'&lt;BR /&gt;entries = drop.files_list_folder(path=root_folder2, shared_link=root_shared_link)&lt;BR /&gt;print('done for')&lt;BR /&gt;while True:&lt;BR /&gt;for file in entries.entries:&lt;BR /&gt;if isinstance(file, dropbox.files.FolderMetadata):&lt;BR /&gt;get_all_files_from_public_url(dropboxs, os.path.join(root_folder, file.name), root_shared_link,&lt;BR /&gt;all_files)&lt;BR /&gt;else:&lt;BR /&gt;all_files.append(os.path.join(root_folder, file.name))&lt;BR /&gt;if not entries.has_more:&lt;BR /&gt;break&lt;BR /&gt;entries = drop.files_list_folder_continue(entries.cursor)&lt;/P&gt;&lt;P&gt;data = []&lt;BR /&gt;link = dropbox.files.SharedLink(url='&lt;A href="https://www.dropbox.com/scl/fo/cycmeqthp4kerxusxo9yt/h?rlkey=r9zd7ee6r7chhnwrui59m94d4&amp;amp;dl=0" target="_blank"&gt;https://www.dropbox.com/scl/fo/cycmeqthp4kerxusxo9yt/h?rlkey=r9zd7ee6r7chhnwrui59m94d4&amp;amp;dl=0&lt;/A&gt;')&lt;BR /&gt;get_all_files_from_public_url(&lt;BR /&gt;drop, '', link, data)&lt;/P&gt;&lt;P&gt;# 11.25.0&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 08:26:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-list-folder-returning-500-Internal-Server-Error/m-p/698475#M31189</guid>
      <dc:creator>Jagadeesh</dc:creator>
      <dc:date>2023-07-13T08:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: files_list_folder returning 500 Internal Server Error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-list-folder-returning-500-Internal-Server-Error/m-p/698505#M31197</link>
      <description>&lt;P&gt;Thanks for the report! We're looking into it. I'll follow up here once I have an update for you.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 12:58:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-list-folder-returning-500-Internal-Server-Error/m-p/698505#M31197</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-07-13T12:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: files_list_folder returning 500 Internal Server Error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-list-folder-returning-500-Internal-Server-Error/m-p/698591#M31205</link>
      <description>&lt;P&gt;This should be working again now. Please let us know if you're still seeing any issues. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 16:27:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-list-folder-returning-500-Internal-Server-Error/m-p/698591#M31205</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-07-13T16:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: files_list_folder returning 500 Internal Server Error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-list-folder-returning-500-Internal-Server-Error/m-p/698601#M31207</link>
      <description>&lt;P&gt;Yes this is resolved now, Thank you very much Greg.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;..Jagadeesh&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 16:50:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-list-folder-returning-500-Internal-Server-Error/m-p/698601#M31207</guid>
      <dc:creator>Jagadeesh</dc:creator>
      <dc:date>2023-07-13T16:50:52Z</dc:date>
    </item>
  </channel>
</rss>

