Error Message: Not Authorised

I keep getting the error message that I am not authorised when I try to connect to the REST API, can you please help?

Hi @Quants-R-Us, that error message is usually caused by an invalid token. Can you provide a screenshot of the error message and whether this is for a live account or a demo account that you are using to connect to REST so I can troubleshoot? Typically this error message is resolved by revoking the token and then generating it again.

1 Like

Thanks @QN_Grace revoking and re-generating the token fixed the issue.