web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Failed to extract PDF ...
Power Automate
Unanswered

Failed to extract PDF page in Power Automate Desktop Ver. 2.3.2121.23000

(0) ShareShare
ReportReport
Posted on by

The very same desktop flow failed after upgraded to Ver 2.3.2121.23000.

 

 

Error Message: Failed to extract new PDF file from 'C:\Users\xxx\Downloads\xxx.pdf'

 

Error Details:

Robin.Core.ActionException: Failed to extract new PDF file from 'C:\Users\xxx\Downloads\xxx' ---> System.ArgumentNullException: Path cannot be null.
Parameter name: path
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at Robin.Modules.PDF.Actions.PDFium.PdfDocument.Save(String filePath)
at Robin.Modules.PDF.Actions.ExtractPagesToNewPDFAction.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Robin.Modules.PDF.Actions.ExtractPagesToNewPDFAction.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

I have the same question (0)
  • miketran13 Profile Picture
    720 on at

    Hi,

     

    I got the same problem as you, just want to put a comment to follow this issue here.

     

    //Mike

  • Verified answer
    Shalu Profile Picture
    Microsoft Employee on at

    Hello Eric, 

     

    This is a known issue in version 2.3.2121.23000, however the bug is fixed in our latest version of PAD: 2.4.78.21036

    Request to upgrade to latest version to overcome the issue.

     

    Installation link for your reference: https://go.microsoft.com/fwlink/?linkid=2102613

     

    Regards,

    Shalini M

  • EricZheng Profile Picture
    on at

    Thank you Shalini!  I will have my PAD updated!

  • vtse Profile Picture
    on at

    Hello, 

    I have the PAD v2.9.29 version installed and I receive the same error, "Failed to extract PDF page". Are we sure that this issue was fixed? 

    The behavior of this action is unstable to my process -  I have a pdf with 30 pages and whenever I run this action I receive error in different page.

  • TFL Profile Picture
    2 on at

    Hi,

    same problem here, when extracting pages in a loop from multiple PDFs with version 2.9.29, the action will fail randomly.

  • vtse Profile Picture
    on at

    After the latest release (2.9.29.21133) seems to work fine. 

  • Albatross5816 Profile Picture
    2 on at

    I'm running PowerAutomate Desktop version 2.15.284.21354 and I still get an error:

    Dutch: Kan DLL pdfium niet laden: Kan opgegeven procedure niet vinden. (Uitzondering van HRESULT: 0x8007007F)

    English translation: Can't load DLL pdfium: Can't find procedure. (Exception from HRESULT: 0x8007007F)

  • Community Power Platform Member Profile Picture
    on at

    Hi @Shalu .

     

    Hope that you are well.

     

    I have been getting same error with PAD 2.21 where extracting pages from pdf in a loop will fail randomly.

     

    I can't have this process to be unstable. Do you have some fix for it?

     

    Thanks in advance.

  • Verified answer
    EricZheng Profile Picture
    on at

    Hi Dhanesha1,

     

    Quick fix:  in the PDF extraction action, set this: 'on error' - 'repeat action'.

     

    This will force the action keeps trying until success, and solves the error.

     

    EricZheng_0-1662096479370.png

     

  • Community Power Platform Member Profile Picture
    on at

    Hi @EricZheng .

     

    Awesome fix. 

     

    Just before you replied i thought of something similar but with a set var on error. The executing an IF condition if the var is met.

     

    The repeat action is better.

     

    Thanks a lot for your help 😄

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard