Take screenshot activity - Value does not fall within the expected range

I am trying to automate on activity where it will browse on url on chrome and then take screenshot of that screen and paste it in email and send an email.
I am facing one error on take screenshot activity.
Can anyone please help here?

@priyanka2 Can you share a Screenshot of the Properties Panel of the Take Screenshot Activity?

@priyanka2

Can you check the values are given properly, you can do debug also to track the issue

else if possible share us the xaml file

Thanks