Jump to content
  • 1

Eror with IG API?


blitzjoker

Question

Hi I am getting the following error from the IG API when trying to log in via their Excel interface file:

{“errorCode”:”error.client.accounts.list.generic-error”}

I log in every day this way and have never had this problem before.  Does anyone have any idea how to get round it?

 

Link to comment

29 answers to this question

Recommended Posts

  • 0

One way that I am bypassing this error at the moment is by using the json object that is coming from the AuthenticationResponse. 

Within the response there is one node that contains the Account Info as well as another node that contains all the accounts that you might have. There you can find almost the same information that you would get from the Accounts endpoint.

{
  "accountType": "SPREADBET",
  "accountInfo": {
    "balance": 0,
    "deposit": 0,
    "profitLoss": 0,
    "available": 0
  },
  "currencyIsoCode": "GBP",
  "currencySymbol": "£",
  "currentAccountId": "",
  "lightstreamerEndpoint": "https://apd.marketdatasystems.com",
  "accounts": [
    {
      "accountId": "",
      "accountName": "Spread bet",
      "preferred": true,
      "accountType": "SPREADBET"
    }
  ],
  "clientId": "",
  "timezoneOffset": 1,
  "hasActiveDemoAccounts": true,
  "hasActiveLiveAccounts": true,
  "trailingStopsEnabled": false,
  "reroutingEnvironment": null,
  "dealingEnabled": true
}

  • Sad 1
Link to comment
  • 0

I don't use the Excel add-in. I develop in c# using plain html Rest calls, so I was more talking about the json response from the service itself. I replied to your initial message just to say that I was having the same problem, so you don't get mad :D
But looking at the sample code for Excel provided from IG I can see that there is a Subscription group that handles this call:

 private SubscriptionGroup accountBalanceSubscription;

This object is within the IGApiExcelClient class.

That subscription connects ultimately to the rest endpoint that throws the error, you will need to change it to use the information coming from the authentication response instead of the accounts response. I can image anyway that this error should be fixed very soon. I am expecting it to go away tomorrow during the day.

Can we log this error anywhere that would reach the API team? I saw that you posted the same message on the API forum as well but no one seemed to reply. 

Edited by jlz
  • Sad 1
Link to comment
  • 0

Thanks jlz; I program in vba and could probably use what you have said to maybe delve into a solution, but none of us should have too really.  Still, you are probably right that this will be fixed soon, unless IG have just given up on their API which is always possible.  It's certainly not well supported.  No, I don't know how to report this directly to IG sadly.  I'll have a look tomorrow maybe and report back if I find out more.

 

Link to comment
  • 0

I'm having this problem too.

I'm looking for a work around. I call the API from a .net application. I will advise if I find a solution.

I hope IG supports their API more actively going forward. It's the one feature that provides value add over other brokers

Cheers

 

 

 

Link to comment
  • 0

Thank you to jlz for a work around using the authentication response. Having implemented the jlz approach (under .net) I find now also that the /accounts end point is working again, at least for the Live account.  

 

 

  • Like 1
Link to comment
  • 0
On 19/06/2020 at 14:59, blitzjoker said:

Hi I am getting the following error from the IG API when trying to log in via their Excel interface file:

{“errorCode”:”error.client.accounts.list.generic-error”}

I log in every day this way and have never had this problem before.  Does anyone have any idea how to get round it?

 

 

On 19/06/2020 at 15:09, jlz said:

I am getting the same error.
I tried the API companion at https://labs.ig.com/sample-apps/api-companion/index.html
and it returns the same error you posted as well . I guess we have to wait for it to be fixed, it is a 500 internal server error. We can't do anything. 

 

On 19/06/2020 at 15:58, Mellstock said:

I am having the same problem

 

On 19/06/2020 at 16:21, another_user said:

I'm also having this issue, it was working this morning. 

When trying to GET https://demo-api.ig.com/gateway/deal/accounts I receive this response:

status_code: 500
content: {"errorCode":"error.client.accounts.list.generic-error"}

Not tried in live

 

On 19/06/2020 at 21:05, John_M said:

Yes me too - all my files aren't working

Same 500 error

Not a good time just before a market turn !!

 

On 20/06/2020 at 11:31, Guest rka said:

Same problem here. This seems to be an internal issue.

 

On 20/06/2020 at 08:26, rmwesley said:

Same for me via python ig-markets-api-python-library 

 

On 22/06/2020 at 02:58, BDod said:

I'm having this problem too.

I'm looking for a work around. I call the API from a .net application. I will advise if I find a solution.

I hope IG supports their API more actively going forward. It's the one feature that provides value add over other brokers

Cheers

 

 

 

 

On 22/06/2020 at 08:41, Guest elongden said:

same problem here and neither the demo or the live account works. When can this be fixed?

 

On 22/06/2020 at 08:54, JulianG said:

Same problem with me. It also occurs if you use the API companion. I also cannot switch accounts.

 

Hey everyone,

After speaking with out technical team they confirmed: 

 
I got your case with API on the forums. We have an incident on it INC0455486. So far we have fixed for the live and waiting on demo
 
If you're still experiencing issues with your live account please email us, explain the issues and reference the incident number above. Demo account issues should be resolved within the week. 
 
Apologies for the inconvenience. 
  • Like 1
  • 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
  • image.png

  • Posts

    • Wheat Elliott Wave Analysis Function - Counter Trend Mode - Corrective Structure -Zigzag for wave (B) Position - Wave A of (B) Direction - Wave A is still in play Details -  As it appears the decline from 720’4 will most likely continue lower, we have adjusted the previous count. Price is now very likely in wave A of (B) against the 523’6 low. Wheat Elliott Wave Analysis Since late May, wheat has declined over 14% from 720, indicating that the commodity has retraced approximately half of the impulse rally that occurred between March 11th and May 28th. In the medium term, the move from March 11th remains a positive correction of the long-term bearish trend that spanned from March 2022 to March 2024—a two-year trend.   Daily Chart Analysis: On the daily chart, wheat completed a bearish impulse wave from March 2022 at 523’6 in March 2024. Following this trend, a corrective phase was anticipated in the opposite direction. The impulse reaction that concluded wave (A) at the May 2024 peak is part of this larger bullish correction. Given that wave (A) is an impulse, we can expect at least a zigzag structure or possibly a double zigzag if the bullish correction extends over several months. Following the path of least resistance, a simple zigzag structure—wave (A)-(B)-(C)—is highly probable. Currently, the price is correcting wave (A) downwards in wave (B). Provided that the ongoing decline stays above 523’6, an extension higher is expected. However, wave (B) does not appear to be finished yet, as evident from the H4 chart.   H4 Chart Analysis: On the H4 chart, the price seems to be in wave A of (B), which is evolving into an impulse structure. We anticipate a typical zigzag structure for wave (B). The invalidation level at 523’6 should not be breached. If it is, the long-term bearish trend from March 2022 will likely resume, confirming that the bullish correction from March 2024 has concluded.   Summary: Wheat has seen a significant decline since late May, retracing half of its recent impulse rally. The medium-term trend from March 11th remains a positive correction within the context of a long-term bearish trend that lasted two years. On the daily chart, the completion of the bearish impulse wave in March 2024 was followed by a bullish correction, which is currently in wave (B) of a zigzag structure. The H4 chart suggests that wave A of (B) is forming an impulse structure, with expectations of a typical zigzag correction.   Traders should monitor the key level of 523’6. If this level holds, the bullish correction is likely to continue with a potential extension higher. However, a breach below 523’6 would invalidate this scenario, signaling a continuation of the long-term bearish trend.  Technical Analyst : Sanmi Adeagbo Source : Tradinglounge.com get trial here!  
    • ZkSync leverages zero-knowledge proofs to improve Ethereum's scalability, offering faster transactions with lower fees. Its use of zkRollups positions it as a promising solution for decentralized applications and DeFi platforms. On Bitget, traders can engage with ZkSync, taking advantage of the exchange's features like a user-friendly interface and robust security measures. While ZkSync presents an opportunity for growth, it's important for investors to conduct thorough research and consider the project's long-term potential in the evolving crypto landscape.
    • COST Elliott Wave Analysis Trading Lounge Daily Chart, Costco Wholesale Corp., (COST) Daily Chart COST Elliott Wave Technical Analysis FUNCTION: Trend MODE: Impulsive STRUCTURE: Motive POSITION: Wave 5.   DIRECTION: Upside in wave {iii}. DETAILS: Looking for upside into wave {iii} as we seem to have completed wave {ii} of 5 after successfully completing the triangle in wave 4.     COST Elliott Wave Analysis Trading Lounge 4Hr Chart, Costco Wholesale Corp., (COST) 4Hr Chart COST Elliott Wave Technical Analysis FUNCTION: Trend MODE: Impulsive STRUCTURE: Motive POSITION: Wave (iii) of {iii} DIRECTION: Wave (iii). DETAILS: Looking for upside into wave (iii), knowing we could switch to a more conservative count where current wave (i) and (ii) is wave {iii} and {iv}. Equality of {iii} vs. {i} stands at 900$.   Welcome to our latest Elliott Wave analysis for Costco Wholesale Corp. (COST). This analysis provides an in-depth look at COST's price movements using the Elliott Wave Theory, helping traders identify potential opportunities based on current trends and market structure. We will cover insights from both the daily and 4-hour charts to offer a comprehensive perspective on COST's market behavior.   * COST Elliott Wave Technical Analysis – Daily Chart* In our Elliott Wave analysis of Costco Wholesale Corp. (COST), we observe an impulsive trend characterized by a motive structure. COST is currently positioned in wave 5, specifically in wave {iii} of 5, indicating an upside move. After successfully completing the triangle in wave 4, COST has finished wave {ii} of 5 and is now poised to move higher into wave {iii}. This wave is expected to gain momentum, pushing prices upward as it unfolds. Traders should monitor the progression of wave {iii} closely, as it may present opportunities for long positions, especially if COST continues to show strength above key resistance levels.   *COST Elliott Wave Technical Analysis – 4Hr Chart* On the 4-hour chart, COST is also following an impulsive trend within a motive structure, specifically in wave (iii) of {iii}. The analysis suggests an upside continuation into wave (iii), with an awareness that current wave (i) and (ii) might be a more conservative count as wave {iii} and {iv}. This suggests that if the market confirms this alternate view, COST could target equality of wave {iii} vs. wave {i} at $900. Traders should be prepared for potential adjustments in the wave count and watch for consolidation or corrective patterns that might precede further upward movements.   Technical Analyst : Alessio Barretta Source : Tradinglounge.com get trial here!  
×
×
  • Create New...
us