Closed kiann00 closed 1 year ago
Definitely a token issue. In case you use a live account you need to specify that when creating your client instance.
client = oandapyV20.API(access_token= 'XXX', environment="live")
Use r.response
to get the data returned or use rv = client.request(r)
and have the response value in rv
In case this was on a non-live account: drop the token and generate a new one
Hi there,
I followed your example to try to extract the Instrument data to test my connection. It seems just the API token is not enough?
I am getting this error message : {"errorMessage":"Insufficient authorization to perform request."}