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

    • What is Foreign Exchange? Foreign exchange (Forex or FX) is the conversion of one currency into another at a specific rate known as the foreign exchange rate. The conversion rates for almost all currencies are constantly floating as they are driven by the market forces of supply and demand. The most traded currencies in the world are the United States dollar, Euro, Japanese yen, British pound, and Australian dollar. The US dollar remains the key currency, accounting for more than 87% of total daily value traded.Factors that Affect Foreign Exchange Rates Many factors can potentially influence the market forces behind foreign exchange rates. The factors include various economic, political, and even psychological conditions. The economic factors include a government’s economic policies, trade balances, inflation, and economic growth outlook. Political conditions also exert a significant impact on the forex rate, as events such as political instability and political conflicts may negatively affect the strength of a currency. The psychology of forex market participants can also influence exchange rates. The Foreign Exchange Market The foreign exchange market is a decentralized and over-the-counter market where all currency exchange trades occur. It is the largest (in terms of trading volume) and the most liquid market in the world. On average, the daily volume of transactions on the forex market totals $5.1 trillion, according to the Bank of International Settlements’ Triennial Central Bank Survey (2016). The forex market major trading centers are located in major financial hubs around the world, including New York, London, Frankfurt, Tokyo, Hong Kong, and Sydney. Due to this reason, foreign exchange transactions are executed 24 hours, five days a week (except weekends). Despite the decentralized nature of forex markets, the exchange rates offered in the market are the same among its participants, as arbitrage opportunities can arise otherwise. The foreign exchange market is probably one of the most accessible financial markets. Market participants range from tourists and amateur traders to large financial institutions (including central banks) and multinational corporations. Also, the forex market does not only involve a simple conversion of one currency into another. Many large transactions in the market involve the application of a wide variety of financial instruments, including forwards, swaps, options, etc. Foreign currency exchange (forex) A foreign currency exchange rate is a price that represents how much it costs to buy the currency of one country using the currency of another country. Currency traders buy and sell currencies through forex transactions based on how they expect currency exchange rates will fluctuate. When the value of one currency rises relative to another, traders will earn profits if they purchased the appreciating currency, or suffer losses if they sold the appreciating currency.  
    • Totally agree, the growth of Bitget Wallet will have a positive impact on $BWB. The potential for both seems exciting. Good luck to you too, and hopefully everyone can benefit from these earning opportunities.
    • Sounds like Mystiko Network is making some serious waves in the interoperability space. Seamless compatibility across multiple blockchains is a game changer, especially with the ZK SDK for secure and private dApps. Big backing from Samsung and Coinlist adds credibility too. I will keep an eye on that Bitget listing, it could be a major boost for $XZK
×
×
  • Create New...
us