HTTP status code
HTTP status code: 404 Not Found
What does 404 Not Found mean in HTTP?
The server found nothing current at the address requested, or is not willing to say that something exists there. The status does not say whether this is temporary or permanent.
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.
What it means in trading API work
The path, the version in the path or an identifier inside it matches nothing: an order id, a position id or an instrument code. An order that has just been filled or cancelled may no longer be found where open orders are listed.
This part is this site's own explanation, written for people learning to call a trading API. It is not part of the source cited above and it describes no particular broker.
What should I do about 404 Not Found?
Check the path against the documentation, then the identifier. If you were looking up an order, read the list of orders and the account's history before deciding that it does not exist.
This page is an independent explanation in plain words. The definition itself is in the source it was read from, which is the authority if the two ever differ.