+1 888 340 6572 Try free for 30 days
MultiCharts Project Management
Go to the previous open issue
Go to the previous issue (open or closed)
Please log in to bookmark issues
Open Bug report MC-2344

Invalid request to OandA causes an exception

Go to the next issue (open or closed)
Go to the next open issue

Hi guys

An exception is returned at times by OandA due to an invalid request sent to their server from MultiCharts. The following error is logged in MultiCharts Portfolio Trader:

"10/9/2017 3:30:08 PM" "Warning" "OANDA" "" "-" "MakeRequest (POST) WebException: ; Message= "Insufficient authorization to perform request."; requestString= "https://api-fxpractice.oanda.com/v3/accounts/101-001-6358291-002/orders""

The problem is that the request passed is trying to access a version 3 of the REST API, OandA currently only supports version 1 and 2.

Thank you in advance for your assistance.

Kind regards
Ettienne Hugo

Steps to reproduce this issue
Nothing entered.
Comments (2)
user-offline.png  MultiCharts Support (MultiCharts)
17 oct. 2017 - 19:08
Hello Ettienne,

v3 is v20 OANDA connection. Please make sure you have selected the proper Trading Interface that corresponds with your account (v1 or v20) in the data feed settings: https://www.multicharts.com/trading-software/index.php/OANDA Also make sure the proper account type is selected in Oanda broker profile: https://www.multicharts.com/trading-software/index.php/OANDA_Broker_Profile If you still have the issue after the platform is properly configured - please send us the logs for analysis and specify the time when the error occurred: go to Help tab->Feedback (or Windows Start menu->All programs->MultiCharts64->Feedback). Select two options: - Attach log files to help us understand what happened - Upload collected data to Help Desk. Uncheck the other options as we do not need them right now.
user-offline.png  Ettienne (et1hugo)
icon_reply.png19 oct., 13:44, in reply to comment #1
Hi Alex

Thank you for the feedback. I looked through the OandA API documentation and did find the sections where they use a v3 to access the REST-V20 services.

Kind regards Ettienne Hugo
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targeted for
    Not determined
  • Status
    Not a bug
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates