MetaTrader accounts & brokers

Account connection problems

Login rejected, disconnected, disabled by the broker, not connected or trading refused — what each state means and how to fix it.

  1. Login rejected

    The broker refused the login or password (AUTH_REJECTED) — usually because the trader changed the password or the server name is wrong. Get the new password and send it with PATCH /v1/accounts/{id}/credentials; an ACTIVE account reconnects by itself. Check the server name exactly as the terminal shows it, including suffixes like -Demo or -Live2.

  2. Trading refused but reading works

    Trading needs the master password. If only the investor password is stored, or the stored master password was rejected (MASTER_AUTH_REJECTED), reads work but trades are refused. Other trade errors come from the broker: MARKET_CLOSED, TRADE_NOT_ALLOWED (trading disabled for the account or symbol), NOT_ENOUGH_MONEY, INVALID_VOLUME or INVALID_STOPS.

  3. Disconnected or connecting

    Short disconnections happen — brokers restart servers, especially at weekends — and the terminal reconnects by itself. If an account stays disconnected or shows Error, force a restart with POST /v1/accounts/{id}/reconnect.

    ACCOUNT_NOT_CONNECTED on a STANDBY account means it has no permanent connection: add ?wait= to the request for a short login, or activate the account.

  4. Disabled by broker

    The broker switched the account off (ACCOUNT_DISABLED), for example an expired demo or a closed account. Only the broker can enable it again — remove it from your list if it won't come back.

  5. Server or broker not found

    BROKER_NOT_FOUND or SERVER_NOT_SUPPORTED means we don't have that broker or server yet. Check the spelling under API → Brokers, or send a broker request — see Brokers and broker requests.

  6. Still stuck?

    Open a ticket with the account's login and server and the request ID of a failed call (never the password or the full API key). See Contact support.

For developers

The API side of this topic, with every field and code examples:

Still need help?

Our team answers questions about integration, plans and payments — typically within a few hours on business days.