Hi guys,
I've got exactly the same issue, everythings fine when I run in Demo mode. But when I try to run the code in Live (changing the URL, username, pswd and token of course) I get the same error :
<HTML><HEAD>\n<TITLE>Access Denied</TITLE>\n</HEAD><BODY>\n<H1>Access Denied</H1>\n \nYou don't have permission to access \"http://api.ig.com/gateway/deal/session\" on this server.<P>\nReference\n</BODY>\n</HTML>\n
I've had the IG support team on the phone two times now (+ a few emails documenting) and no solution yet...
Using the api companion no problem I can switch between prod and demo without a glitch. Same using Postman (local or cloud) I get no problem authentificating... your problem been solved yet ?