When I load a web scene from Arcgis Enterprise I get the error. When I load a web scene from Arcgis Online it does not give the same result and loads the map or scene.
4.30
Solved! Go to Solution.
Hello @emreaktas1 
The error you mentioned is usually due to one of the following reasons:
// Set the hostname to the on-premise portal
esriConfig.portalUrl = "https://myHostName.domainName.com/webadaptorName";
const webScene = new WebScene({
  portalItem: {
    // Here your item id 
    id: "xxxxxxxxxxxxxxxxx"
  }
});
I hope this can help you. Otherwise, please attach your code here (or send it to me privately) so I can investigate further. 
Hello @emreaktas1 
The error you mentioned is usually due to one of the following reasons:
// Set the hostname to the on-premise portal
esriConfig.portalUrl = "https://myHostName.domainName.com/webadaptorName";
const webScene = new WebScene({
  portalItem: {
    // Here your item id 
    id: "xxxxxxxxxxxxxxxxx"
  }
});
I hope this can help you. Otherwise, please attach your code here (or send it to me privately) so I can investigate further.