Skip to main content

Fix Exchange API Connection Errors in Sumex

When Sumex can't connect an exchange account, it shows the reason in red under the connection form, in a notification, or as a status on the exchange card. This page lists those messages exactly as Sumex shows them, what causes each one and what to do next. Find your message with your browser's search (Ctrl+F / Cmd+F).

All connections are managed in the Exchanges tab of the Connection Manager.

Errors when you click Connect​

These appear after you fill in Manual API Connect and click Connect. The exact reason is printed in red under the form; the notification on top is a short summary ("Invalid API key", "CeFi Bundle Failed" or "Connection Failed").

MessageWhat it meansWhat to do
Invalid API keyThe exchange rejected the key.Copy the key again from the exchange with no leading or trailing spaces. Check that the key wasn't deleted and that you pasted it into API Key, not Secret Key.
Invalid API passphraseThe passphrase doesn't match the key (OKX, WEEX).The passphrase is the one you typed when you created the key on the exchange, not your account password. If you've lost it, create a new key.
Invalid request.Sumex couldn't accept the form. The two usual causes: the passphrase field is empty on an exchange that needs one (OKX, Bitget, KuCoin, WEEX, Katana Perps), or the Account Name is longer than 50 characters.Fill in the passphrase and keep the name short.
API key already exists or can be added only once.This exact key is already connected to a Sumex account.If it's on your account, use the existing card. Otherwise create a new key on the exchange for this connection.
Max API connections reached for your subscription. Limit: …You already have as many active exchange connections as your plan allows.Delete or disable a connection you no longer use, or upgrade your plan.
You are holding the maximum number of API connections, including disabled ones. Delete one first. Limit: …Disabled connections also count toward an upper cap.Delete (not just disable) old connections.
This Arcum API key is no longer valid. Issue a new key pair and add it again.The Arcum key expired or was replaced. Issuing a new key pair on Arcum revokes the old one.Create a new key pair on Arcum and connect it.
Your Katana session key has expired or was revoked. Create a new session key on Katana and reconnect this account in Sumex.Katana Perps session (delegated) keys expire.Create a new session key on Katana and connect it again.
Too many requests, try again shortlyThe exchange rate-limited the check.Wait a minute and click Connect again.
upstream timeout / upstream unreachableSumex couldn't reach the exchange in time.Usually temporary. Try again in a few minutes.
Internal Server ErrorAn unexpected failure on Sumex's side.Try again later. If it repeats, contact support with the exchange name and the time it happened.

Some exchanges (Bybit, Bitget, KuCoin and others) return their own error text, which Sumex shows unchanged under the form. It almost always means the key, secret or passphrase is wrong or the key no longer exists.

Sumex Add OKX API form with the message Invalid API passphrase under the fields

Before you click Connect​

  • The Add button is disabled with "You need to be logged in to add a CEX account." until you log in to Sumex.
  • It is disabled with "Maximum … CeFi bundles allowed" when your plan's connection limit is already used.

Fast API Connect errors​

With Fast API Connect, the exchange creates the key for you. After you approve on the exchange's site you return to a Sumex page that finishes the connection. If something goes wrong, the reason is shown there with a Back to Connection Manager button.

MessageWhat to do
Authorization was declined on Bybit (or OKX, KuCoin, WEEX, Bitget) / The connection was cancelled on ArcumYou cancelled on the exchange's page. Start again from the Connection Manager.
The connection session expired — please start againThe approval took more than 10 minutes, or you came back in a different browser tab. Start again and finish in one go.
This connection was started by another accountYou're logged in to a different Sumex account than the one that started the connection. Log in to the right account and start again.
Your session expired. Login and start the connection again.Your Sumex login ended during the approval. Log in and start again.
Invalid Bybit authorization state (or OKX, KuCoin, WEEX) / Invalid Bitget signature / Unknown fast-connect sessionThe return link didn't match the connection Sumex started (an old link, or another tab). Start again from the Connection Manager.
OKX allows one fast-connect key per account — delete the previous Sumex API key on OKX and try againDelete the old Sumex key in OKX's API management, then reconnect.
A Sumex API key is already linked to this WEEX account — remove it on WEEX and try againDelete the old Sumex key on WEEX, then reconnect.
Sumex does not accept keys that can withdraw — connect again without the withdrawal permissionKuCoin only: untick the withdrawal permission on KuCoin's approval page.
The exchange is still creating the key — refresh this page in a minute.The exchange is slow. Wait a minute and refresh the page; don't start a second connection.
Fast connect is temporarily unavailable / Fast connect is not available for this exchangeUse Manual API Connect instead.
WEEX authorization failed — please start again, or "… returned an incomplete API key"Start again. If it repeats, use Manual API Connect.

The plan-limit and "already exists" errors from the table above can appear here too, because the key the exchange creates is saved the same way.

Hyperliquid: Connect with Wallet​

MessageWhat to do
Signature request was rejected in the walletClick Try Again and approve the signature in your wallet.
Hyperliquid rejected the agent approvalCheck that the wallet holds funds on Hyperliquid. Sumex warns that agents on empty accounts are removed.
Failed to connect HyperliquidTry again, or connect with an API wallet key as described in the Hyperliquid guide.

Statuses on a connected exchange card​

Card showsMeaningWhat to do
ConnectedThe last check against the exchange succeeded.Nothing.
Can TransferThe key has withdrawal or transfer permission. Sumex never needs it.Delete the key on the exchange and connect a new one without that permission.
READThe key can't trade.Give the key trade permission on the exchange, or connect a new one.
Spot / Futures missingThe key lacks permission for that market.Edit the key's permissions on the exchange.
Invalid KeyThe latest check failed: the key expired, was deleted or lost permissions, or the exchange didn't answer.See below.

When a card shows Invalid Key​

  1. Reload the Connection Manager after a few minutes. A short exchange outage can fail the check once.
  2. If it stays invalid, click Check. For OKX, Bybit, Bitget, BingX, Gate and KuCoin it opens the exchange's API management page, where you can see whether the key still exists and when it expires.
  3. Create a new key and connect it. When the card offers Reconnect instead of Check, it starts a Fast API Connect for that exchange so the exchange issues a new key.
  4. Delete the old card so it doesn't count toward your plan limit.

Some exchanges expire keys that have no IP restriction after a set period. The exchange's API page shows the expiry date.

Missing permissions while trading​

If you open the trading terminal with a key that lacks something it needs, Sumex shows Missing API Key Permissions with the missing items (Read, Trade, Spot or Futures). Edit the key on the exchange or connect a new key with those permissions. Never add withdrawal permission.