Skip to main content
Question

Getting Json Content on big files

  • April 27, 2026
  • 0 replies
  • 1 view

Michel L
Forum|alt.badge.img+13

When Getting Json Content on big files using “https://api.lucid.co/documents/{id}/contents” end point.
I am faced with an internal 500 error when using this endpoint for very big files.
I also tried using an extension using 

    for (const [pageId, page] of document.pages) {
const items = page.allItems;

Lucid is crashing also.
When using an extension I was able do make it running using several calls with grouping pages as we can iterate through pages in extension.
It could be interesting to have a {pageId} feature in the Json Header for getting the content of a page using the “https://api.lucid.co/documents/{id}/contents” end point as we can when exporting.
It could then be a turn around for big files with 500 Error.
Unless there are other solution for internal 500 Error.
Regards