OANDA API error code
OANDA API error: Insufficient authorization to perform request.
The error, as text you can copy
Insufficient authorization to perform request.- Kind
- API error code
- HTTP status
- 401
- API
- OANDA
What does Insufficient authorization to perform request. mean on the OANDA API?
Usually the host (practice or live) does not match your token or account.
Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.
How do I fix Insufficient authorization to perform request.?
Call api-fxpractice for practice and api-fxtrade for live with the token from that environment, and check the account ID format xxx-xxx-xxxxxxx-xxx.
The checked date on this page was carried forward from an earlier reading. The source has not been reopened since.