Broker API HubMenu

DXtrade API error code

DXtrade API error: 3 Incorrect username or password

The error, as text you can copy

3 Incorrect username or password
Kind
API error code
HTTP status
401
API
DXtrade APIs

What does 3 Incorrect username or password mean on the DXtrade API?

DXtrade errorCode 3, description "Incorrect username or password" (the vendor's wording). Authentication failed when creating a session token. The vendor uses code 3 with several descriptions: "Incorrect username or password", "Account has been locked due to multiple unsuccessful login attempts", "Account has been temporarily locked due to multiple unsuccessful login attempts" and, for SSO login, "Incorrect username, SSO token or SSO token doesn't correspond to username".

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 3 Incorrect username or password?

Read the description returned with the code: it says whether the credentials did not match or the account is locked. The vendor's page gives no remedy for a locked account.