Read PDF Text: Read PDF Text: Unable to sort because the IComparer.Compare() method returns inconsistent results

Hello, I am trying to read a pdf file with “Read PDF Text” activity but I am getting the below error

Read PDF Text: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'System.Array+FunctorComparer`1[]

Note: I have processed several pdf successfully but one of the pdf’s is erroring out. This has some images but successfully processed pdf also had some images.

Is there a specific thing which I need to look for in the pdf with images?

Appreciate your inputs!

@praveenkumar_pno,

Some PDF formats, especially those with complex images or non-standard encoding, may cause issues.

You may compare encoding or other properties of this PDF with a PDF which is processed correctly.

Thanks,
Ashok :slight_smile:

Appreciate your quick response @ashokkarale . Can you pls let me know on how to compare encoding?