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

  • Posts

    • With the CryptoSpace evolving everydayy, a plethora of ways also trump up for users to earn and have fun alongside. Some of these events are my favourites. I have participated in a couple of them and the potential to earn therefrom is immense.  Just recently, I came across an event on Bitget for its users to earn passively as well as an opportunity to spin the wheel to win an all expense tour to Santorini island. The criteria for participating in this is relatively simple, you just need to make a net deposit of over 100 USDT and maintain the amount for a day. Depositing greater sums like $500 USDT, 1000 USDT and 1 BTC can further your chances of winning. The more tasks completed, the more spins a participant may have. The event is exclusively restricted to users from the; United Kingdom, Canada, Australia/DACH, French, Italian, Netherlands, Sweden and Poland region. The total prize pool is $50,000 based on FCFS serve basis. This sounds too good to look away from.
    • Still the silence is deafening in here. When will this happen?  it have moved most my Trading Capital to another broker who does support Trading veiw Does the deal with Tastytrade have something to do with this lack of progress?  
    • Well to me I feel that the  crypto market values transparency and reliable services. And Bitget has embraced this approach, attracting a large following,gaining up to 1.4million twitter followers,. Recent data shows significant growth in trading volume, solidifying its position in the market.  The exchanges  focus on user protection and satisfaction has fostered a loyal community. As the platform continues to evolve, its value may continue to grow. What are your thoughts on the importance of value in crypto, and what do you see as Bitget's future potential?
×
×
  • Create New...
us