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

4 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 1
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 

  • Great! 1
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
      19,988
    • Total Posts
      87,948
    • Total Members
      69,138
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    waynemax
    Joined 25/09/22 10:27
  • Posts

    • Hey @pravid17 I hope you're well.  In the leveraged trading industry there are brokers who don't hedge client's exposure and brokers (like ourselves) who do hedge client's exposure.  In a perfect world the exposure of short clients would net off the trades of long clients however this is not always the case. Our hedging model allows us to take an exposure in the underlying market for the remaining exposure which doesn't offset - This way we don't need to hedge every trade, worry about profits of our clients and results in lower costs for hedging in the underlying market (commissions, interest etc.). So say 60% of IG customer exposure in the ASX was long and 40% of exposure on the ASX was short. The 40% would net each other off but there's a remaining 20% of customers who need to be hedged to cover their positions. We go into the market and hedge this.  We make our money primarily through our spreads and overnight funding  with other fees making up a small proportion of our revenue. I would like to remind also that IG is regulated by several bodies globally, including top-tier regulators like the UK's FCA, Germany's BaFIN, Australia's ASIC - This should be quite reassuring from a dealing execution and transparency perspective.  I hope this helps, let me know if you have any other question 
    • A survey from Reviews.org, which featured 1000 Americans, found that as many as 1 in 4 US subscribers may quit the service in the next year.    Jeremy Naylor | Writer, London | Publication date: Friday 23 September 2022  There was an interesting breakdown, but the main reason was affordability. Only 18% said they would move to a cheaper competitor. IGTV’s Jeremy Naylor looks at the numbers. Netflix subscription woes Netflix Inc (All Sessions) could be in for a rough time ahead over the next 12 months if a new survey is anything to go by, which was conducted in the US. Out of the 1,000 adults that took part in this survey undertaken by Reviews.org, around 25% of those that were covered said that they would be cancelling their Netflix subscription within the next 12 months. Now, it says with that 25% of US subscribers to Netflix considering leaving, not to join a competitor, but mostly because of pressures on household bills. This is how it is split: rising cost of subscriptions - 40% inflation - 20% a lack of content - 22% spending more time on the services of others - 18% So you can see, a minority said they were going to other services, such as those provided by Disney Plus or Amazon Prime. The cost of Netflix has risen dramatically this year as its basic plan increased by 11% in January and its other plans by 20% to 25%. Now these were the first price increases for three years, so that itself is relatively new for a lot of subscribers. Netflix share price Let's take a look at the Netflix share price. You can see on the far left hand side of this chart the COVID lows at $290.39. We saw a whacking great increase there of 141% to the top and the record high in Netflix shares back in November 2021. And that was when subscriptions were rising, people were paying more for their services, and it was all humming beautifully. And then all of a sudden people started questioning the numbers of streaming services they were undertaking with some deciding to withdraw from Netflix. All of a sudden the big drops started coming through with profit warnings and sales warnings. We've recently hit a new low of $162.50. Since then there has been a little bit of an increase. We're currently trading at $232.75, but we are down by a margin of 1.75% in today's session, which reflects this news that we could well see a relatively large drop in subscribers for Netflix in the US within the next 12 months.
    • Market data to trade the week of 26 September: Nasdaq; NXT From the economic calendar next week IG technical analyst, Axel Rudolph, picks up on a short trade on the Nasdaq around US inflation data. Meanwhile, despite another light week of corporate data, Axel picks out the chart of Next plc (NXT) as an interesting trade to think about.          
×
×
  • Create New...