Getting statusCode: 500, errorCode: 'INTERNAL_SERVER_ERROR' on OCR Operation using node.js

New Here ,
Jan 20, 2022 Jan 20, 2022

Copy link to clipboard

Copied

I have thousands of files I need to OCR. I was able to create files less than 100MB and less that 100 pages.

I have tested 2 files. One is 14 MB and 5 pages and works fine. One is 83 MB and 38 pages and failes. Both files were generated using the same scanner with the same settings.

 

2022-01-20T10:47:44.627:[INFO]: All validations successfully done. Beginning OCR operation execution
Exception encountered while executing operation ServiceApiError: An Internal Server Error has occurred.; transactionId=vrL8tVFbahkIQJ4kMR4bRRfNd9BmUxeS
at node_modules\@adobe\pdfservices-node-sdk\src\internal\api\cpf-api.js:195:20
at IncomingForm.<anonymous> (node_modules\formidable\lib\incoming_form.js:107:9)
at IncomingForm.emit (events.js:400:28)
at IncomingForm._maybeEnd (node_modules\formidable\lib\incoming_form.js:557:8)
at JSONParser.parser.onEnd (node_modules\formidable\lib\incoming_form.js:532:10)
at JSONParser.end (node_modules\formidable\lib\json_parser.js:29:8)
at IncomingMessage.<anonymous> (node_modules\formidable\lib\incoming_form.js:132:30)
at IncomingMessage.emit (events.js:412:35)
at endReadableNT (internal/streams/readable.js:1334:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {
requestTrackingId: 'l0PqXRl0mIvYsH2lmjhBgyWyKJ3qdpqO',
statusCode: 500,
errorCode: 'INTERNAL_SERVER_ERROR'
}

 

Im totally lost! Please advise.

Views

110

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

LATEST

Bump, Im pretty sure Im facing a simliar issue, related to document size.  When I try adding too many images or images that are too large to the word template, the API fails, but if I scale back the number of images or crop some of the larger photos down, it will successfully generate the document.

Is the adobe API failing? surely it needs to handle bigger docuements.  Is there a tech support line?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources