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 / 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

I have the same question (0)
  • 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

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard