Jump to content
  • 0

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


doart3

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

Link to comment

6 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.

Link to comment
  • 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 2
Link to comment
  • 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 

  • Like 1
  • Great! 1
Link to comment
  • 0

i am also facing this issue on Demo Account, it is very unusual for demo account to get suspended because i am working for a customer who hired me to automate his transactions and i haven't started developing the project properly and account is suspended...please fix this, because this indeed reduces the productivity 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • General Statistics

    • Total Topics
      22,989
    • Total Posts
      95,315
    • Total Members
      43,600
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    GEORGE1969
    Joined 23/09/23 15:50
  • Posts

    • In my opinion, higher lev is for scalpers only! For day or swing traders, either spot or lower lev is always recommended!
    • Just now, according to Glassnode data, the number of addresses holding more than 100 BTC has reached a four-month low, currently standing at 15,955.
    • Bitcoin and other major crypto experienced a dip in value on Thursday, erasing gains made earlier in the week. The decline came after the Federal Reserve signaled that interest rates would remain high for an extended period, with Bitcoin retreating 2.3% to $26.5K. Despite the bearish pressure,  the founder and CEO of Bitcoin joint mining company Xive,  Didar stated that the stagnant rate increase is positive for Bitcoin. He suggested that this could reduce the attractiveness of mainstream financial assets to institutional investors in the long term, potentially driving a new rally in Bitcoin's price. Major altcoins and exchange tokens also struggled on Thursday, with ETH changing hands at $1,585, down about 2.6% from Wednesday. Other altcoins such as BNB and BGB also experienced losses. Despite these challenges, some analysts believe that Bitcoin is likely to remain within its recent range between $25,000 and $30,000. Riyad from digital asset data platform Kaiko, noted that the market needs a catalyst to mount any serious rally.  What are your thoughts? 
×
×
  • Create New...
us