I am getting this error in azure log when I try to publish a console application which will create a list in SharePoint.
Also this error is coming when
context.executeQuery() is done.
What do I need to solve this issue.
I know this is old, but I have recently got the same error. You can get run into this scenario, when your SharePoint policy was changed to permit only certain type of browsers. For example in my case IE was approved, while Chrome/Firefox and everything else including my .Net application, were forbidden. Easy to test, just try to open SP with other browsers.