Broker API HubMenu

DXtrade API error code

DXtrade API error: 2 Entity not found at server

The error, as text you can copy

2 Entity not found at server
Kind
API error code
HTTP status
404
API
DXtrade APIs

What does 2 Entity not found at server mean on the DXtrade API?

DXtrade errorCode 2, description "Entity not found at server" (the vendor's wording). The vendor lists three causes together: the API is not permitted for the user, the account (or, on some resources, the order) with the given id does not exist, or it is not accessible for the user. The Push API uses code 2, with the description "Entity not found", when a subscription does not exist or is already closed.

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.

Independent and unofficialdemo.dx.tradechecked

How do I fix 2 Entity not found at server?

Check the account or order identifier and that the API is permitted for the user. The vendor's page gives no further remedy.