Getting statusCode: 500, errorCode: 'INTERNAL_SERVER_ERROR' on OCR Operation using node.js
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.
