Jump to content
  • 0
Sign in to follow this  

API 401 (Unauthorized) error.security.client-suspended

Question

Hello

I have been trying to connect to your API, which I have done successfully, and now trying to get in to the Streaming API (which has been challenging since I am using Go).

Just now my client stopped working and I get the error: 401 (Unauthorized) error.security.client-suspended
Why did this happen? How can it be fixed?

An unrelated question is: is it possible to use your Streaming API through generic websockets (without using the lightstream library)?

Thank you

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

Almost certainly it means you have locked your password by your system entering it incorrectly too many times. If it's on the live account, you can reset your password in the normal way, if it's on the demo account you are having the issue then you have to stop your system trying to log in, then ask IG to unlock your account, then if you don't remember the password, set a new one in the API settings.

Share this post


Link to post
  • 0

So if this happens on a prod/live account you can fix it yourself but if it happens on a demo account you get locked out until IG gets around to it, this makes sense how? Quite frankly it doesn't make much sense to me, and it cuts into peoples productivity needlessly.

The demo gateway should be a place where you have more control, not less control, and it's a place where your likely to be developing, intentionally testing and running into bad payloads or code that might cause unexpected auth errors, of course there is the fact that even new users unfamiliar with authentication, or people like myself who haven't used IG api for quite a while and are resurrecting old scripts run into a few bad auth attempts, and are then forced to stop development and lose precious time, just because IG.com still thinks this is perfectly fine, that is to say to suspend without remediation demo accounts which should be for testing, but if its a prod account, it's all fine and well, and this makes sense how?

Am I the only person that thinks this is completely bizarre. Surely this is not right. Please fix this IG.

How about at least increasing the limit for demo login attempts if your going to be this oppressive? I am sure none of us who run into this issue enjoy the productivity wasted, anymore than IG enjoy the constant inflow of similarly affected users, whom, quite frankly as users of a demo API shouldn't be having to contact IG for such trivial things anyway. It's not like this is an issue in prod, so why of all places is it an issue in demo api gateway, of all places, where it should be easier, not more difficult to do the setup and testing of new auth sets, what a madness gents. Just my opinion I guess.


Best,
A

  • Like 1

Share this post


Link to post
  • 0
13 hours ago, pbs said:

So if this happens on a prod/live account you can fix it yourself but if it happens on a demo account you get locked out until IG gets around to it, this makes sense how? Quite frankly it doesn't make much sense to me, and it cuts into peoples productivity needlessly.

The demo gateway should be a place where you have more control, not less control, and it's a place where your likely to be developing, intentionally testing and running into bad payloads or code that might cause unexpected auth errors, of course there is the fact that even new users unfamiliar with authentication, or people like myself who haven't used IG api for quite a while and are resurrecting old scripts run into a few bad auth attempts, and are then forced to stop development and lose precious time, just because IG.com still thinks this is perfectly fine, that is to say to suspend without remediation demo accounts which should be for testing, but if its a prod account, it's all fine and well, and this makes sense how?

Am I the only person that thinks this is completely bizarre. Surely this is not right. Please fix this IG.

How about at least increasing the limit for demo login attempts if your going to be this oppressive? I am sure none of us who run into this issue enjoy the productivity wasted, anymore than IG enjoy the constant inflow of similarly affected users, whom, quite frankly as users of a demo API shouldn't be having to contact IG for such trivial things anyway. It's not like this is an issue in prod, so why of all places is it an issue in demo api gateway, of all places, where it should be easier, not more difficult to do the setup and testing of new auth sets, what a madness gents. Just my opinion I guess.


Best,
A

I have passed these messages on to our technical team and the importance of having the demo up and running. 

All the best 

  • Great! 1

Share this post


Link to post

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
You are posting as a guest. If you have an account, please sign in.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Member Statistics

    • Total Topics
      13,082
    • Total Posts
      66,565
    • Total Members
      88,883
    Newest Member
    Dcl2020
    Joined 24/11/20 15:05
  • Posts

    • Hi all, On average are Forex markets more suited to mean reversion strategies than say indices or commodities? And do you choose your market type based on the conditions at the time or do you steer clear of some on purpose? Thanks for your insight      
    • Hi, I was wondering how the ban the FCA are planning on crypto trading from the beginning of 2021 will affect IG? Specifically will we be forced to close our CFD crypto positions at the end of this year? Given how volatile they are, I don't want to find my positions being closed out at some arbitrary date. 😟 I haven't seen anything from IG about this, but maybe I've missed it. Hope everyone's having a good trading day. Cate
    • Dax and Dow M15;
×
×