The Market Robo™
All problems
TMKR-2004
Error
Vendor or customer

Authentication token invalid

The session token was rejected or could not be read. The session was invalidated for safety.
Authentication & licensingAlso known as: TOKEN_INVALID, token-invalid, JWT_DECODE_FAILED, invalid_token_structure

Symptoms

API response error_code: TOKEN_INVALID (HTTP 401).
Experts log: "JWT Error: Invalid token structure." or "SDK Error: Failed to decode JWT payload. Token has been invalidated."

Causes

The token was revoked because the session ended elsewhere.
A network proxy or antivirus altered the response body.
A rare server-side token formatting issue.

How to fix it

If you're the customer (running the product)

1
Restart the productRemove and re-add the product to obtain a new token. Disable any HTTPS-inspecting antivirus/proxy for MetaTrader.

If you're the vendor (publisher)

1
Report a persistent failureIf a freshly issued token is consistently rejected during testing, capture the Experts log and contact TheMarketRobo support — this may indicate a server-side issue.
Did this fix it?If you're still seeing TMKR-2004, open a support ticket with the code and your license ID and we'll help directly.