Hi @ManojKumar ,
Welcome to Microsoft Q&A!
It is recommended to convert these two files into PDF file again.
This should be a problem with the PDF file format, one characteristic of these files is that they all have specific file permissions. I'm not sure yet what's causing the issue.
In my test, I used Edge to open your two files, used the print(ctrl+p) function in Edge, and after re-exporting the pdf, the API worked.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.