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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Failure to save screen...
Power Automate
Unanswered

Failure to save screenshot

(3) ShareShare
ReportReport
Posted on by 26

I have a power automate desktop flow where I am trying to take a screenshot with the web recorder and save it to a folder. The save fails every time. Any insight is appreciated. Thanks!

 

Error message: 

Robin.Core.ActionException: Failed to save screenshot to file. ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
at Robin.Modules.WebAutomation.Actions.WebAutomationActions.TrySaveScreenshotOfWebPage(FileVariant fileName, Image image, ImageFormatEnum fileFormat, Boolean copyToClipboard)
--- End of inner exception stack trace ---
at Robin.Modules.WebAutomation.Actions.TakeScreenshotBase.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement) 

 

2021-06-02 16_55_06-Window.png

  • Chris82 Profile Picture
    2 on at

    Hi, 

     

    I would recommend to use "Set variable" action to store the path. Thanks to that you will get a preview of the value through the "Variables" section located on the right-hand side. 

     

    Cheers

    Chris

  • sahbai Profile Picture
    5 on at

    I'm experiencing the same issue as well. Flows have been running for months without a problem, this just started happening week of 5/30/2021

  • johnaustin Profile Picture
    20 on at

    i am also experiencing this issue !

  • gkstor Profile Picture
    7 on at

    It happens because you already have a folder with the same name. To avoid it, you can use the action "if folder exists".

  • josephspengler Profile Picture
    123 on at

    I had the same issue. Not really a solution, but I found a workaround.

     

    I was trying to save to C:\image.png

    That wouldn't work any way I tried it.

     

    However I was able to save to a network file share:

    \\domain.org\home\username\image.png

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 275 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 178 Super User 2026 Season 2

Last 30 days Overall leaderboard