Failed to capture a screenshot

Hello community,
i have started getting new error when attempting to screen capture on Andorod Mobile test
Does anyone have an idea: what is causing this and how to solve it?
Failed to capture a screenshot. Does the current view have ‘secure’ flag set?