Jump to content

tfyfe

Members
  • Posts

    1
  • Joined

  • Last visited

tfyfe's Achievements

0

Reputation

  1. Hi, I have been using the REST API for some months now successfully and as of this week it has stopped working. I am trying to login to my demo account. I receive the following error in my app and also on the API companion. V2 of the /session API works fine with the same username, password, api key etc. URL https://demo-api.ig.com/gateway/deal/session Headers Name=Value Content-Type=application/json; charset=UTF-8 Accept=application/json; charset=UTF-8 X-IG-API-KEY=my api key Version=3 Body { "identifier": "my username", "password": "my password" } Result HTTP 401 status: error content-length: 50 content-type: application/json { "errorCode": "error.security.oauth-token-invalid" }
×
×
  • Create New...
us