Jump to content
  • 0

Forbidden error on all endpoints


Garry7

Question

Hi,

I'm getting an error whenever I try to log in via the API (I suspect all endpoints are affected cos it started happening on the 24th around 5.30pm UK time when I tried to retrieve current account balance)

The error is the following:
 

Quote

 

 Forbidden <HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>

You don't have permission to access "http://demo-api.ig.com/gateway/deal/session" on this server.

 

Has anyone seen or overcome this error?

If I try logging in via the API companion, it works fine, seems like its just my server... I've tried via Python, curl and a basic Rest client in the browser, all having the same problem. Is it possible my server been blacklisted or something?

My live account is still logging in fine and running a live strategy, I was hoping to run a new strategy in demo mode for a month or so first but clearly that's not happening...

Link to comment

5 answers to this question

Recommended Posts

  • 0
4 hours ago, Garry7 said:

Hi,

I'm getting an error whenever I try to log in via the API (I suspect all endpoints are affected cos it started happening on the 24th around 5.30pm UK time when I tried to retrieve current account balance)

The error is the following:
 

Has anyone seen or overcome this error?

If I try logging in via the API companion, it works fine, seems like its just my server... I've tried via Python, curl and a basic Rest client in the browser, all having the same problem. Is it possible my server been blacklisted or something?

My live account is still logging in fine and running a live strategy, I was hoping to run a new strategy in demo mode for a month or so first but clearly that's not happening...

Hi @Garry7,

Thank you for your post.

You can to try logging into IG REST companion, which is a sample API (https://labs.ig.com/sample-apps/api-companion/index.html)

If you still facing issues, provide us with the username and API key, a screenshot of your attempt on REST would be helpful too. Send all the details to webapisupport@ig.com.

All the best - Arvin

Link to comment
  • 0

Hi @Garry7

I got exactly the same problem as you

It's driving me crazy that I could do nothing to fix this...

I was wondering if you had solved this problem? I mailed them but they only told me that the API key is available.

I do think that the live API service has blocked some server including mine or yours.

BTW, I use Google Apps Script.

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,109
    • Total Posts
      92,975
    • Total Members
      42,494
    • Most Online
      7,522
      10/06/21 16:53

    Newest Member
    Mhamley89
    Joined 04/06/23 02:25
  • Posts

    • The inclusion of trading volume as a standard indicator in charting software for the past three decades is not without reason—it offers a vital advantage. Volume analysis grants traders valuable insights into the actions of market participants at different price levels. By focusing on volume, traders can react more effectively to price movements rather than attempting to predict the future direction of prices, as is often the case with many other technical indicators. 📍Key points about volume Here are the key points regarding the volume indicator commonly plotted on the X-axis in trading: 🔹Volume Indicator: The volume indicator calculates the total number of shares or contracts traded during a specified time period. It is usually displayed as a histogram or line chart, with time represented on the X-axis. 🔹Liquidity: Volume is a critical metric as it provides insights into the liquidity of a security. Higher volume generally indicates greater market participation and liquidity, making it easier to buy or sell the asset without significantly impacting its price. 🔹Confirmation: Volume can validate the authenticity of price movements. In an uptrend, increasing volume supports the bullish move, indicating strength and conviction among buyers. Conversely, declining volume during an uptrend may signal weakness or lack of interest. The same principles apply to downtrends. 🔹Breakouts and Reversals: Volume analysis is often employed to identify breakouts and potential trend reversals. A significant increase in volume during a breakout suggests a higher probability of a sustained move, while decreasing volume near a support or resistance level might indicate a potential reversal. 🔹Divergence: Volume can unveil discrepancies between price and market sentiment. For instance, if prices are rising while volume is decreasing, it could suggest that the rally is losing momentum and a reversal may be imminent. Similarly, increasing volume during a price decline might indicate selling pressure and the potential for further downside. 🔹Confirmation of Patterns: Volume can serve to confirm or invalidate chart patterns such as triangles, head and shoulders, or double tops/bottoms. Higher volume during pattern formations enhances their reliability, while low volume can cast doubt on the significance of the pattern. 🔹Watch for High Volume: Unusual spikes in volume can indicate significant market events, such as earnings releases, news announcements, or institutional buying/selling. Abnormal volume levels can lead to increased volatility and potentially present trading opportunities. 🔹Relative Volume: Comparing current volume to historical average volume helps assess the significance of current trading activity. Higher volume relative to the average may imply increased interest, while lower volume might suggest a lack of conviction or reduced market participation.
    • I don't know but it looks like a really awesome service Because I have come across all sorts of mixers in my work  
    • Charting the Markets: 2 June Indices rally as US agrees debt ceiling bill. EUR/USD, GBP/USD rally while EUR/GBP stabilises as US debt ceiling bill is passed. And WTI recoups recent losses while gold, silver on track for first weekly advance. Axel Rudolph FSTA | Senior Financial Analyst, London | Publication date: Friday 02 June 2023               This is here for you to catch up but if you have any ideas on markets or events you want us to relay to the TV team we’re more than happy to.
×
×
  • Create New...