# Problem retrieving annotations from sqlite3

**URL:** <https://pdfjs.community/t/problem-retrieving-annotations-from-sqlite3/1617>\
**Category:** Technical Support\
**Created:** [April 21, 2022, 7:38am UTC](https://pdfjs.community/t/problem-retrieving-annotations-from-sqlite3/1617 "2022-04-21T07:38:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![abel.manzanera](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@abel.manzanera](https://pdfjs.community/u/abel.manzanera)\
**Post date:** [April 28, 2022, 1:18pm UTC](https://pdfjs.community/t/problem-retrieving-annotations-from-sqlite3/1617/4 "2022-04-28T13:18:59Z")

</div>

Thanks Logan, that’s works now but with a little problem.  
The first time that you tri to make a coment or a line (underline) the console show this error  
PayloadTooLargeError: request entity too large  
at readStream (/var/www/html/WebViewer/annotations/node\_modules/raw-body/index.js:156:17)  
at getRawBody (/var/www/html/WebViewer/annotations/node\_modules/raw-body/index.js:109:12)  
at read (/var/www/html/WebViewer/annotations/node\_modules/body-parser/lib/read.js:79:3)  
at textParser (/var/www/html/WebViewer/annotations/node\_modules/body-parser/lib/types/text.js:86:5)  
at Layer.handle [as handle\_request] (/var/www/html/WebViewer/annotations/node\_modules/express/lib/router/layer.js:95:5)  
at trim\_prefix (/var/www/html/WebViewer/annotations/node\_modules/express/lib/router/index.js:328:13)  
at /var/www/html/WebViewer/annotations/node\_modules/express/lib/router/index.js:289:7  
at Function.process\_params (/var/www/html/WebViewer/annotations/node\_modules/express/lib/router/index.js:348:12)  
at next (/var/www/html/WebViewer/annotations/node\_modules/express/lib/router/index.js:280:10)  
at expressInit (/var/www/html/WebViewer/annotations/node\_modules/express/lib/middleware/init.js:40:5)

and don’t save nothing, the second time the comment is saved, if you wait a minut or change the tool for the annotations make the same, the first time this error and the second time save the annotation.

Any ideas??

---

_[View the full topic](https://pdfjs.community/t/problem-retrieving-annotations-from-sqlite3/1617)._
