ERR_NAME_NOT_RESOLVED for WebView with restrictions

Hi all.
I have one web view that requires a token for access. In the chrome://inspect I could see this web view without a problem, but when I switched to the web view in the code the page returned an ERR_NAME_NOT_RESOLVED error. I have other web views that work without the problem.