Hello, I'm getting the same CORS error. I've added the trusted server with no effect. Can you provide an example of the format? Do you have to provide the port? I'm using 4.16. I used to use esriConfig.defaults.io.corsEnabledServers.push on the 3.x api and it seemed like it actually worked. But trustedServers.push doesn't seem to ever work. Does it do the same thing?
... View more