I also faced similar problem while using wireless monitor and that showed miracast error. Then i use wireless display adapter and problem solved. I think, you also try this. Thanks.