OCR SDK Knowledge Base

Article ID: 2075 | Category: PDF Conversion | Type: FAQ | Last Modified: 3/16/2017

PDF cannot be processed because it “has access restrictions and cannot be added to the document”

Description

Why cannot my PDF file be processed? The “File … has access restrictions and cannot be added to the document” error is returned.

Solution

The “File … has access restrictions and cannot be added to the document” error message is returned when you try to process a PDF file which is protected by password. ABBYY uses APDFL for rasterization and content extracting of PDF documents, and if these actions are prohibited, the library does not allow to perform them not to infringe copyright.

If you know the password, specify it in the pdfPassword parameter of the processing method. If you do not know the password, try a workaround: if printing is allowed for the file, print it with some virtual printer software into one of the image formats accepted by ABBYY Cloud OCR SDK and process the images instead of PDFs.

Related Products

Related Tags

2 people think this is helpful.
Was this information helpful to you?

Related Forum Questions

OCRSDK: has access restrictions and cannot be added to the document

A few pdf's uploaded via processImage fail ('ProcessingFailed') with above error message. However,...

ADDImageFileFromMemory

I am getting this below error while I am trying to OCR the file "AddImageFileFromMemory"....

More related questions on Forum