API Brawl Stars

Hello, I have created a request in Javascript that retrieves through the proxy “RoyalApi” the api of Brawl Stars. I want to get the specific data of a player. I encounter a strange problem, that when using the Google Developer Console the request works, but on VS Code the request encounters an error (see image).
Do you have any idea what’s wrong?
error

Don’t know your setup + code. Run a curl and see what happens. Impossible to help without code and specifics.

I attach a capture of my code.
Also I tested on Postman and everything works but strangely when I simulate on VS Code the script it returns this.

sorry i can’t help you with this. please visit dev server and maybe someone can.