<?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: files/export returning empty paper docs in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/files-export-returning-empty-paper-docs/m-p/526911#M1940</link>
    <description>&lt;P&gt;Ended up going with auth on behalf of the user. While using team admin (&lt;SPAN&gt;Dropbox-API-Select-Admin&lt;/SPAN&gt;) partially works by returning metadata but no file content, user auth (&lt;SPAN&gt;Dropbox-API-Select-User&lt;/SPAN&gt;) does return both metadata and the file content.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jun 2021 17:16:46 GMT</pubDate>
    <dc:creator>onna_spyder</dc:creator>
    <dc:date>2021-06-14T17:16:46Z</dc:date>
    <item>
      <title>files/export returning empty paper docs</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/files-export-returning-empty-paper-docs/m-p/526244#M1932</link>
      <description>&lt;P&gt;Hey everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having trouble getting the actual paper doc content when using the files/export endpoint. When I make the call on the document I do see the relevant export and file metadata attributes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "export_metadata": {
    "name": "_ Getting Started with Dropbox Paper.html",
    "size": 0,
    "export_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "paper_revision": 0
  },
  "file_metadata": {
    "name": "_ Getting Started with Dropbox Paper.paper",
    "parent_shared_folder_id": "9347998768",
    "id": "id:_GrEIRHlc2YAAAAAAAAAEw",
    "client_modified": "2021-03-31T22:19:59Z",
    "server_modified": "2021-04-09T23:17:34Z",
    "rev": "015bf925e6ed42c000000022d2f2430",
    "size": 200,
    "sharing_info": {
      "read_only": false,
      "parent_shared_folder_id": "9347998768",
      "modified_by": "dbid:AAASsxunZhVLU7W7WWEhyDByXbIzLwxSacg"
    },
    "is_downloadable": false,
    "export_info": {
      "export_as": "html",
      "export_options": [
        "html",
        "markdown"
      ]
    },
    "content_hash": "3b6bad4556d7e197f963d6cf0679e915baabbe6074dec9abd1ee0cb513e20212"
  }
}&lt;/LI-CODE&gt;&lt;P&gt;However the response content is completely empty. I can see in the file metadata there is a size defined, however the size attribute in the export metadata is zero. I also attempted to use the Dropbox API Explorer but got the same result. Clicking on the download button downloads an empty file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-06-10 at 3.41.48 PM.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/23927iA21275D5138F0ECE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-06-10 at 3.41.48 PM.png" alt="Screen Shot 2021-06-10 at 3.41.48 PM.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have ideas on why the the paper doc is empty, but does have the relevant metadata when calling the files/export endpoint?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 19:48:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/files-export-returning-empty-paper-docs/m-p/526244#M1932</guid>
      <dc:creator>onna_spyder</dc:creator>
      <dc:date>2021-06-10T19:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: files/export returning empty paper docs</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/files-export-returning-empty-paper-docs/m-p/526577#M1935</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm able to export the default getting started with Dropbox Paper file normally.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I see you are using the Dropbox-API-Select-Admin header.&amp;nbsp; Are you able to export the file using user auth?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 20:20:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/files-export-returning-empty-paper-docs/m-p/526577#M1935</guid>
      <dc:creator>kylea</dc:creator>
      <dc:date>2021-06-12T20:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: files/export returning empty paper docs</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/files-export-returning-empty-paper-docs/m-p/526878#M1939</link>
      <description>&lt;P&gt;Actually yes when I update to use the document's user (&lt;SPAN&gt;Dropbox-API-Select-User&lt;/SPAN&gt;) it does return the paper doc successfully. So seems like there may be an issue when attempting to use admin authentication. According to the docs the export endpoint should support admin auth.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing to note that I missed is the paper docs I'm having trouble with were actually migrated to use the new paper doc setup. So I think there might be an issue there and I'm working with the technical contact who did the migration.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 14:03:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/files-export-returning-empty-paper-docs/m-p/526878#M1939</guid>
      <dc:creator>onna_spyder</dc:creator>
      <dc:date>2021-06-14T14:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: files/export returning empty paper docs</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/files-export-returning-empty-paper-docs/m-p/526911#M1940</link>
      <description>&lt;P&gt;Ended up going with auth on behalf of the user. While using team admin (&lt;SPAN&gt;Dropbox-API-Select-Admin&lt;/SPAN&gt;) partially works by returning metadata but no file content, user auth (&lt;SPAN&gt;Dropbox-API-Select-User&lt;/SPAN&gt;) does return both metadata and the file content.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 17:16:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/files-export-returning-empty-paper-docs/m-p/526911#M1940</guid>
      <dc:creator>onna_spyder</dc:creator>
      <dc:date>2021-06-14T17:16:46Z</dc:date>
    </item>
  </channel>
</rss>

