Forum Discussion

rDaniel's avatar
rDaniel
New member | Level 2
5 years ago

How do I fix doc_not_found error

Hello,

Can someon please assist me with the doc_not_found error that I am having?

I have retrieved the doc id using fileAlphaGetMetaData.

 

I am attempting to update a .paper file with a table row.

 

Here is my code:

dbx.paperDocsUpdate({
doc_id: "{id}",
doc_update_policy: "append",
revision: 18,
import_format: "html",
contents: "<td>Test</td><td>Test02</td><td>Test03</td>"
}).then(() => resolve()).catch((err) => reject(err))});

 

Thank you

2 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    5 years ago

    Unfortunately, the Dropbox API doesn't currently offer a way to update Paper docs that are stored as .paper files, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.  (The paperDocsUpdate method only works for legacy Paper docs, not in the filesystem as .paper files.) You can find more information in the Paper Migration Guide.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!