Jump to content
  • 0

API 403 Error


protagarusra

Question

Hi guys

I can't quite understand why, when I access the API via my local host it works fine, but when I access it via my hosting provider, I get the following. Any idea?

HTTP error: 403 <HTML><HEAD> <TITLE>Access Denied</TITLE> </HEAD><BODY> <H1>Access Denied</H1> You don't have permission to access "http&#58;&#47;&#47;api&#46;ig&#46;com&#47;gateway&#47;deal&#47;session" on this server.<P> Reference&#32;&#35;18&#46;c56bdc17&#46;1668005887&#46;2224a662 </BODY> </HTML>

  • Like 2
Link to comment

3 answers to this question

Recommended Posts

  • 0

Hi protagarusra,

I am getting the same error. Did you get anything resolved here?

For my Live account, I can login using the API Companion but not through my code. The API companion works with Demo and importantly my code also works in Demo. To try to access Live, within my code, I change the URL, username and password (using those values that work correctly in the API Companion), so really can't see why it isn't working.

Anyone any ideas?

  • Like 1
Link to comment
  • 0

Hi guys, 

I've got exactly the same issue, everythings fine when I run in Demo mode. But when I try to run the code in Live (changing the URL, username, pswd and token of course) I get the same error

<HTML><HEAD>\n<TITLE>Access Denied</TITLE>\n</HEAD><BODY>\n<H1>Access Denied</H1>\n \nYou don't have permission to access \"http&#58;&#47;&#47;api&#46;ig&#46;com&#47;gateway&#47;deal&#47;session\" on this server.<P>\nReference\n</BODY>\n</HTML>\n
 
I've had the IG support team on the phone two times now (+ a few emails documenting) and no solution yet... 
 
Using the api companion no problem I can switch between prod and demo without a glitch. Same using Postman (local or cloud) I get no problem authentificating... your problem been solved yet ?
  • Like 1
Link to comment
  • 0

Been in touch with support by email but it's a long wait to hear anything back. Over a week ago they passed it on to a developer to look at but I haven't heard anything back yet.
My error message looks to be similar (and likely the same) as yours.
I can login in to live from various sources but not the one I actually need to use. That source works for Demo.
If I use incorrect credentials, I get the same "Access Denied" so it looks to me like it is being blocked from IG's side (but only specific sources/domains/IP addresses).

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
      21,612
    • Total Posts
      91,832
    • Total Members
      41,887
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    Mas
    Joined 23/03/23 04:08
  • Posts

    • Elliott Wave Analysis TradingLounge Daily Chart, 23 March 23, Bitcoin/U.S.dollar(BTCUSD) BTCUSD Elliott Wave Technical Analysis Function: Follow trend Mode: Motive Structure: Impulse Position: Wave III Direction Next higher Degrees: wave (I) of Motive Details: Wave 3 is equal to 1.618 multiplied Length of wave 1 at 35366 Wave Cancel invalid level: 15479 Bitcoin/U.S.dollar(BTCUSD)Trading Strategy: Bitcoin is developing in wave III and is trending towards 1.618 times wave I at 35107 as the price recovers from support at MA200 and breaks the upper channel. Help support this idea. So the overall picture is still a steady increase in the uptrend. Bitcoin /U.S.dollar(BTCUSD)Technical Indicators: The price is above the MA200 indicating an UpTrend. The wave oscillators above Zero-Line momentum are bullish. TradingLounge Analyst: Kittiampon Somboonsod, CEWA Source : Tradinglounge.com get trial here!   Elliott Wave Analysis TradingLounge 4H Chart, 23 March 23, Bitcoin/U.S.dollar(BTCUSD) BTCUSD Elliott Wave Technical Analysis Function: Counter trend Mode: Corrective Structure: Zigzag Position: Wave A Direction Next higher Degrees: wave ((2)) of Motive Details: Wave ((2)) usually retraces 50-61.8% of wave ((1)). Wave Cancel invalid level: 19569 Bitcoin/U.S.dollar(BTCUSD)Trading Strategy: Wave ((1)) seems to end at the level 28936. As the price structure completes five waves and the Wave Oscillator slows down, it is possible that a reversal in wave ((2)) is ongoing and it is likely to end at the level of 28936. will go to the level of 50 - 61.8% of the wave ((1)) before rising again in the wave ((3)). Bitcoin/U.S.dollar(BTCUSD)Technical Indicators: The price is above the MA200 indicating an UpTrend. The wave oscillators above Zero-Line momentum are bullish.
    • Wow. That censored word was twitter shortened. T w i t ..
    • Which exchange charts on TV are the ones being used on the IG platform? Specifically AUD/USD. Also what/when is **** feed coming back?
×
×
  • Create New...