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
  • image.png

  • Posts

    • Dear @Dbass, Please note that the minimum transaction size is 0.1 contracts for most pairs: MT4 Forex products and differs from the minimum on commodities: MT4 Commodity products. Kindly have a look at the minimum sizes before attempting a trade. Thanks, KoketsoIG
    • MerlinChain aims to resolve these issues through its innovative Bitcoin Layer 2 infrastructure. At its core, the project integrates zk-Rollup technology, a decentralized oracle network, and on-chain anti-fraud modules - all while maintaining deep compatibility with the Ethereum Virtual Machine (EVM). For years, Bitcoin has been plagued by scalability issues stemming from its architecture - specifically the need to propagate every transaction to each node on the base layer. While incredibly secure, this makes Bitcoin virtually unusable for high throughput applications and daily transactions due to longer confirmation times and high fees during periods of network congestion. In an exciting development for Bitcoin enthusiasts and scalability advocates, the MERL token for MerlinChain is being listed on Bitget exchange.
    • JNJ Elliott Wave Analysis Trading Lounge Daily Chart Johnson & Johnson, (JNJ) Daily Chart JNJ Elliott Wave Technical Analysis   FUNCTION: Counter Trend MODE: Corrective STRUCTURE: Complex POSITION: Intermediate (2). DIRECTION: Downside in wave Z.   DETAILS: Looking for support as we touched 0.618 Z vs. X. If we find resistance on Medium Level at 150 then we can expected further downside.           JNJ Elliott Wave Analysis Trading Lounge 4Hr Chart, Johnson & Johnson, (JNJ) 4Hr Chart JNJ Elliott Wave Technical Analysis   FUNCTION: Trend MODE: Impulsive STRUCTURE: Motive POSITION: Wave (iv) of {c}. DIRECTION: Downside into wave (v).   DETAILS: Looking to find resistance on 150, as wave (ii) was sharp we could anticipate a sideways wave (iv), to move around 150 itself.   On April 24, 2024, we conducted a comprehensive Elliott Wave analysis on Johnson & Johnson (Ticker: JNJ), focusing on the dynamics revealed through the daily and 4-hour chart studies. Our analysis highlights crucial patterns and potential future movements, offering valuable insights for traders and investors engaged in JNJ’s stock.       * JNJ Elliott Wave Technical Analysis – Daily Chart* Johnson & Johnson is observed in a counter trend phase characterized by a complex corrective structure, specifically placed in Intermediate wave (2). Currently, the stock is progressing through the downside movements of wave Z. Key observations indicate the stock has reached the Fibonacci retracement level of 0.618 Z vs. X, signaling a potential area for finding support. Should resistance solidify at the medium level of $150, further downside could be expected as the pattern completes. * JNJ Elliott Wave Technical Analysis – 4H Chart* The 4-hour chart provides additional granularity into JNJ's Elliott Wave structure. Unlike the daily chart’s corrective mode, the intraday perspective shows an impulsive mode within a motive structure, pinpointing the stock in wave (iv) of {c}. This suggests that despite the broader correction, short-term dynamics involve impulsive downside movements. With wave (ii) noted as sharp, a contrasting sideways consolidation in wave (iv) is anticipated around $150, leading to a further decline in wave (v).   Technical Analyst : Alessio Barretta   Source : Tradinglounge.com get trial here!  
×
×
  • Create New...
us