• C#
  • Java
  • VB
  • C++
  • Python
Contact us
Message Codes

The TWS uses the IBApi.EWrapper.error method not only to deliver errors but also warnings or informative messages. This is done mostly for simplicity's sake. Below is a table with all the messages which can be sent by the TWS/IB Gateway. All messages delivered by the TWS are usually accompanied by a brief but meaningful description pointing in the direction of the problem.

System Message Codes

Remember that the TWS API simply connects to a running TWS/IB Gateway which most of times will be running on your local network if not in the same host as the client application. It is your responsibility to provide reliable connectivity between the TWS and your client application.

The messages in the table below are not a consequence of any action performed by the client application. They are notifications about the connectivity status between the TWS and itself and our servers. Your client application must pay special attention to them and handle the situation accordingly. You are very likely to loose connectivity to our servers at least once a day due to our daily server maintenance downtime as clearly detailed in our Current System Status page. Note that after the system reset, the TWS/IB Gateway will automatically reconnect to our servers and you can resume your operations normally.

Important: during a reset period, there may be an interruption in the ability to log in or manage orders. Existing orders (native types) will operate normally although execution reports and simulated orders will be delayed until the reset is complete. It is not recommended to operate during the scheduled reset times.

CodeTWS messageAdditional notes
1100Connectivity between IB and the TWS has been lost.Your TWS/IB Gateway has been disconnected from IB servers. This can occur because of an internet connectivity issue, a nightly reset of the IB servers, or a competing session.
1101Connectivity between IB and TWS has been restored- data lost.* The TWS/IB Gateway has successfully reconnected to IB's servers. Your market data requests have been lost and need to be re-submitted.
1102Connectivity between IB and TWS has been restored- data maintained. The TWS/IB Gateway has successfully reconnected to IB's servers. Your market data requests have been recovered and there is no need for you to re-submit them.
1300TWS socket port has been reset and this connection is being dropped. Please reconnect on the new port - <port_num>The port number in the TWS/IBG settings has been changed during an active API connection.

Warning Message Codes

CodeTWS messageAdditional notes
2100New account data requested from TWS. API client has been unsubscribed from account data. The TWS only allows one IBApi.EClient.reqAccountUpdates request at a time. If the client application attempts to subscribe to a second account without canceling the previous subscription, the new request will override the old one and the TWS will send this message notifying so.
2101Unable to subscribe to account as the following clients are subscribed to a different account. If a client application invokes IBApi.EClient.reqAccountUpdates when there is an active subscription started by a different client, the TWS will reject the new subscription request with this message.
2102Unable to modify this order as it is still being processed. If you attempt to modify an order before it gets processed by the system, the modification will be rejected. Wait until the order has been fully processed before modifying it. See Placing Orders for further details.
2103A market data farm is disconnected.Indicates a connectivity problem to an IB server. Outside of the nightly IB server reset, this typically indicates an underlying ISP connectivity issue.
2104Market data farm connection is OK A notification that connection to the market data server is ok. This is a notification and not a true error condition, and is expected on first establishing connection.
2105A historical data farm is disconnected.Indicates a connectivity problem to an IB server. Outside of the nightly IB server reset, this typically indicates an underlying ISP connectivity issue.
2106A historical data farm is connected. A notification that connection to the market data server is ok. This is a notification and not a true error condition, and is expected on first establishing connection.
2107A historical data farm connection has become inactive but should be available upon demand. Whenever a connection to the historical data farm is not being used because there is not an active historical data request, the connection will go inactive in IB Gateway. This does not indicate any connectivity issue or problem with IB Gateway. As soon as a historical data request is made the status will change back to active.
2108A market data farm connection has become inactive but should be available upon demand. Whenever a connection to our data farms is not needed, it will become dormant. There is nothing abnormal nor wrong with your client application nor with the TWS. You can safely ignore this message.
2109Order Event Warning: Attribute "Outside Regular Trading Hours" is ignored based on the order type and destination. PlaceOrder is now processed.Indicates the outsideRth flag was set for an order for which there is not a regular vs outside regular trading hour distinction
2110Connectivity between TWS and server is broken. It will be restored automatically.Indicates a connectivity problem between TWS or IBG and the IB server. This will usually only occur during the IB nightly server reset; cases at other times indicate a problem in the local ISP connectivity.
2137Cross Side WarningThis warning message occurs in TWS version 955 and higher. It occurs when an order will change the position in an account from long to short or from short to long. To bypass the warning, a new feature has been added to IB Gateway 956 (or higher) and TWS 957 (or higher) so that once can go to Global Configuration > Messages and disable the "Cross Side Warning".

Client Error Codes

Client errors are those occurring purely on the TWS API client code and as such they are never sent by the TWS. They are mostly errors happening when validating messages before these are sent to the TWS and you are unlikely to receive the vast majority of them. As such only a small list of these errors is documented below. To see all available errors of this type please refer to the IBApi.EClientErrors class.

CodeMessageAdditional notes
501Already Connected.Your client application is already connected to the TWS.
502 Couldn't connect to TWS. Confirm that "Enable ActiveX and Socket Clients" is enabled and connection port is the same as "Socket Port" on the TWS "Edit->Global Configuration...->API->Settings" menu. When you receive this error message it is either because you have not enabled API connectivity in the TWS and/or you are trying to connect on the wrong port. Refer to the TWS' API Settings as explained in the error message. See also Connectivity
503The TWS is out of date and must be upgraded.Indicates TWS or IBG is too old for use with the current API version. Can also be triggered if the TWS version does not support a specific API function.
504Not connected. You are trying to perform a request without properly connecting and/or after connection to the TWS has been broken probably due to an unhandled exception within your client application.

TWS Error Codes

CodeTWS messageAdditional notes
100Max rate of messages per second has been exceeded. The client application has exceeded the rate of 50 messages/second. The TWS will likely disconnect the client application after this message.
101Max number of tickers has been reached.

The current number of active market data subscriptions in TWS and the API altogether has been exceeded. This number is calculated based on a formula which is based on the equity, commissions, and quote booster packs in an account. Active lines can be checked in Tws using the Ctrl-Alt-= combination

102Duplicate ticker ID.

A market data request used a ticker ID which is already in use by an active request.

103Duplicate order ID.

An order was placed with an order ID that is less than or equal to the order ID of a previous order from this client

104Can't modify a filled order.

An attempt was made to modify an order which has already been filled by the system.

105Order being modified does not match original order.

An order was placed with an order ID of a currently open order but basic parameters differed (aside from quantity or price fields)

106Can't transmit order ID:

107Cannot transmit incomplete order.

Order is missing a required field.

109Price is out of the range defined by the Percentage setting at order defaults frame. The order will not be transmitted.

Price entered is outside the range of prices set in TWS or IB Gateway Order Precautionary Settings

110The price does not conform to the minimum price variation for this contract.

An entered price field has more digits of precision than is allowed for this particular contract. Minimum increment information can be found on the IB Contracts and Securities Search page.

111The TIF (Tif type) and the order type are incompatible.

The time in force specified cannot be used with this order type. Please refer to order tickets in TWS for allowable combinations.

113The Tif option should be set to DAY for MOC and LOC orders.

Market-on-close or Limit-on-close orders should be sent with time in force set to 'DAY'

114Relative orders are valid for stocks only.

This error is deprecated.

115Relative orders for US stocks can only be submitted to SMART, SMART_ECN, INSTINET, or PRIMEX.

This error is deprecated.

116The order cannot be transmitted to a dead exchange. Exchange field is invalid.
117The block order size must be at least 50.
118VWAP orders must be routed through the VWAP exchange.
119Only VWAP orders may be placed on the VWAP exchange. When an order is routed to the VWAP exchange, the type of the order must be defined as 'VWAP'.
120It is too late to place a VWAP order for today. The cutoff has passed for the current day to place VWAP orders.
121Invalid BD flag for the order. Check "Destination" and "BD" flag. This error is deprecated.
122No request tag has been found for order:
123No record is available for conid: The specified contract ID cannot be found. This error is deprecated.
124No market rule is available for conid:
125Buy price must be the same as the best asking price.
126Sell price must be the same as the best bidding price.
129VWAP orders must be submitted at least three minutes before the start time. The start time specified in the VWAP order is less than 3 minutes after when it is placed.
131The sweep-to-fill flag and display size are only valid for US stocks routed through SMART, and will be ignored.
132This order cannot be transmitted without a clearing account.
133Submit new order failed.
134Modify order failed.
135Can't find order with ID = An attempt was made to cancel an order not currently in the system.
136This order cannot be cancelled. An attempt was made to cancel an order than cannot be cancelled, for instance because
137VWAP orders can only be cancelled up to three minutes before the start time.
138Could not parse ticker request:
139Parsing error: Error in command syntax generated parsing error.
140The size value should be an integer: The size field in the Order class has an invalid type.
141The price value should be a double: A price field in the Order type has an invalid type.
142Institutional customer account does not have account info
143Requested ID is not an integer number. The IDs used in API requests must be integer values.
144Order size does not match total share allocation. To adjust the share allocation, right-click on the order and select “Modify > Share Allocation.�
145Error in validating entry fields - An error occurred with the syntax of a request field.
146Invalid trigger method. The trigger method specified for a method such as stop or trail stop was not one of the allowable methods.
147The conditional contract info is incomplete.
148A conditional order can only be submitted when the order type is set to limit or market. This error is deprecated.
151This order cannot be transmitted without a user name. In DDE the user name is a required field in the place order command.
152The "hidden" order attribute may not be specified for this order. The order in question cannot be placed as a hidden order. See- https://www.interactivebrokers.com/en/index.php?f=596
153EFPs can only be limit orders. This error is deprecated.
154Orders cannot be transmitted for a halted security. A security was halted for trading when an order was placed.
155A sizeOp order must have a user name and account. This error is deprecated.
156A SizeOp order must go to IBSX This error is deprecated.
157An order can be EITHER Iceberg or Discretionary. Please remove either the Discretionary amount or the Display size. In the Order class extended attributes the fields 'Iceberg' and 'Discretionary' cannot
158You must specify an offset amount or a percent offset value. TRAIL and TRAIL STOP orders must have an absolute offset amount or offset percentage specified.
159The percent offset value must be between 0% and 100%. A percent offset value was specified outside the allowable range of 0% and 100%.
160The size value cannot be zero. The size of an order must be a positive quantity.
161Cancel attempted when order is not in a cancellable state. Order permId = An attempt was made to cancel an order not active at the time.
162Historical market data Service error message.
163The price specified would violate the percentage constraint specified in the default order settings. The order price entered is outside the allowable range specified in the Order Precautionary Settings of TWS or IB Gateway
164There is no market data to check price percent violations. No market data is available for the specified contract to determine whether the specified price is outside the price percent precautionary order setting.
165Historical market Data Service query message. There was an issue with a historical data request, such is no such data in IB's database. Note this message is not specific to the API.
166HMDS Expired Contract Violation. Historical data is not available for the specified expired contract.
167VWAP order time must be in the future. The start time of a VWAP order has already passed.
168Discretionary amount does not conform to the minimum price variation for this contract. The discretionary field is specified with a number of degrees of precision higher than what is allowed for a specified contract.
200 No security definition has been found for the request. The specified contract does not match any in IB's database, usually because of an incorrect or missing parameter.
The contract description specified for <Symbol> is ambiguous Ambiguity may occur when the contract definition provided is not unique.

For some stocks that has the same Symbol, Currency and Exchange, you need to specify the IBApi.Contract.PrimaryExch attribute to avoid ambiguity. Please refer to a sample stock contract here.

For futures that has multiple multipliers for the same expiration, You need to specify the IBApi.Contract.Multiplier attribute to avoid ambiguity. Please refer to a sample futures contract here.
201Order rejected - Reason: An attempted order was rejected by the IB servers.
202Order cancelled - Reason: An active order on the IB server was cancelled
203The security <security> is not available or allowed for this account. The specified security has a trading restriction with a specific account.
300Can't find EId with ticker Id: An attempt was made to cancel market data for a ticker ID that was not associated with a current subscription. With the DDE API this occurs by clearing the spreadsheet cell.
301Invalid ticker action:
302Error parsing stop ticker string:
303Invalid action: An action field was specified that is not available for the account. For most accounts this is only BUY or SELL. Some institutional accounts also have the options SSHORT or SLONG available.
304Invalid account value action:
305Request parsing error, the request has been ignored. The syntax of a DDE request is invalid.
306Error processing DDE request: An issue with a DDE request prevented it from processing.
307Invalid request topic: The 'topic' field in a DDE request is invalid.
308Unable to create the 'API' page in TWS as the maximum number of pages already exists. An order placed from the API will automatically open a new page in classic TWS, however there are already the maximum number of pages open.
309Max number (3) of market depth requests has been reached. Note: TWS currently limits users to a maximum of 3 distinct market depth requests. This same restriction applies to API clients, however API clients may make multiple market depth requests for the same security.
310Can't find the subscribed market depth with tickerId: An attempt was made to cancel market depth for a ticker not currently active.
311The origin is invalid. The origin field specified in the Order class is invalid.
312The combo details are invalid. Combination contract specified has invalid parameters.
313The combo details for leg '<leg number>' are invalid.

A combo leg was not defined correctly.

314Security type 'BAG' requires combo leg details. When specifying security type as 'BAG' make sure to also add combo legs with details.
315Stock combo legs are restricted to SMART order routing. Make sure to specify 'SMART' as an exchange when using stock combo contracts.
316Market depth data has been HALTED. Please re-subscribe. You need to re-subscribe to start receiving market depth data again.
317Market depth data has been RESET. Please empty deep book contents before applying any new entries.
319Invalid log level <log level> Make sure that you are setting a log level to a value in range of 1 to 5.
320Server error when reading an API client request.
321Server error when validating an API client request.
322Server error when processing an API client request.
323Server error: cause - s
324Server error when reading a DDE client request (missing information). Make sure that you have specified all the needed information for your request.
325Discretionary orders are not supported for this combination of exchange and order type. Make sure that you are specifying a valid combination of exchange and order type for the discretionary order.
326Unable to connect as the client id is already in use. Retry with a unique client id. Another client application is already connected with the specified client id.
327Only API connections with clientId set to 0 can set the auto bind TWS orders property.
328Trailing stop orders can be attached to limit or stop-limit orders only. Indicates attempt to attach trail stop to order which was not a limit or stop-limit.
329Order modify failed. Cannot change to the new order type. You are not allowed to modify initial order type to the specific order type you are using.
330Only FA or STL customers can request managed accounts list. Make sure that your account type is either FA or STL.
331Internal error. FA or STL does not have any managed accounts. You do not have any managed accounts.
332The account codes for the order profile are invalid. You need to check that the account codes you specified for your request are valid.
333Invalid share allocation syntax.
334Invalid Good Till Date order Check you order settings.
335Invalid delta: The delta must be between 0 and 100.
336The time or time zone is invalid. The correct format is hh:mm:ss xxx where xxx is an optionally specified time-zone. E.g.: 15:59:00 EST Note that there is a space between the time and the time zone. If no time zone is specified, local time is assumed.
337The date, time, or time-zone entered is invalid. The correct format is yyyymmdd hh:mm:ss xxx where yyyymmdd and xxx are optional. E.g.: 20031126 15:59:00 ESTNote that there is a space between the date and time, and between the time and time-zone.
338Good After Time orders are currently disabled on this exchange.
339Futures spread are no longer supported. Please use combos instead.
340Invalid improvement amount for box auction strategy.
341Invalid delta. Valid values are from 1 to 100. You can set the delta from the "Pegged to Stock" section of the Order Ticket Panel, or by selecting Page/Layout from the main menu and adding the Delta column.
342Pegged order is not supported on this exchange. You can review all order types and supported exchanges on the Order Types and Algos page.
343The date, time, or time-zone entered is invalid. The correct format is yyyymmdd hh:mm:ss xxx
344The account logged into is not a financial advisor account. You are trying to perform an action that is only available for the financial advisor account.
345Generic combo is not supported for FA advisor account.
346Not an institutional account or an away clearing account.
347Short sale slot value must be 1 (broker holds shares) or 2 (delivered from elsewhere). Make sure that your slot value is either 1 or 2.
348Order not a short sale – type must be SSHORT to specify short sale slot. Make sure that the action you specified is 'SSHORT'.
349Generic combo does not support "Good After" attribute.
350Minimum quantity is not supported for best combo order.
351The "Regular Trading Hours only" flag is not valid for this order.
352Short sale slot value of 2 (delivered from elsewhere) requires location. You need to specify designatedLocation for your order.
353Short sale slot value of 1 requires no location be specified. You do not need to specify designatedLocation for your order.
354Not subscribed to requested market data. You do not have live market data available in your account for the specified instruments. For further details please refer to Streaming Market Data.
355Order size does not conform to market rule. Check order size parameters for the specified contract from the TWS Contract Details.
356Smart-combo order does not support OCA group. Remove OCA group from your order.
357Your client version is out of date.
358Smart combo child order not supported.
359Combo order only supports reduce on fill without block(OCA).
360No whatif check support for smart combo order. Pre-trade commissions and margin information is not available for this type of order.
361Invalid trigger price.
362Invalid adjusted stop price.
363Invalid adjusted stop limit price.
364Invalid adjusted trailing amount.
365No scanner subscription found for ticker id: Scanner market data subscription request with this ticker id has either been cancelled or is not found.
366No historical data query found for ticker id: Historical market data request with this ticker id has either been cancelled or is not found.
367Volatility type if set must be 1 or 2 for VOL orders. Do not set it for other order types.
368Reference Price Type must be 1 or 2 for dynamic volatility management. Do not set it for non-VOL orders.
369Volatility orders are only valid for US options. Make sure that you are placing an order for US OPT contract.
370Dynamic Volatility orders must be SMART routed, or trade on a Price Improvement Exchange.
371VOL order requires positive floating point value for volatility. Do not set it for other order types.
372Cannot set dynamic VOL attribute on non-VOL order. Make sure that your order type is 'VOL'.
373Can only set stock range attribute on VOL or RELATIVE TO STOCK order.
374If both are set, the lower stock range attribute must be less than the upper stock range attribute.
375Stock range attributes cannot be negative.
376The order is not eligible for continuous update. The option must trade on a cheap-to-reroute exchange.
377Must specify valid delta hedge order aux. price.
378Delta hedge order type requires delta hedge aux. price to be specified. Make sure your order has delta attribute.
379Delta hedge order type requires that no delta hedge aux. price be specified. Make sure you do not specify aux. delta hedge price.
380This order type is not allowed for delta hedge orders. Limit, Market or Relative orders are supported.
381Your DDE.dll needs to be upgraded.
382The price specified violates the number of ticks constraint specified in the default order settings.
383The size specified violates the size constraint specified in the default order settings.
384Invalid DDE array request.
385Duplicate ticker ID for API scanner subscription. Make sure you are using a unique ticker ID for your new scanner subscription.
386Duplicate ticker ID for API historical data query. Make sure you are using a unique ticker ID for your new historical market data query.
387Unsupported order type for this exchange and security type. You can review all order types and supported exchanges on the Order Types and Algos page.
388Order size is smaller than the minimum requirement. Check order size parameters for the specified contract from the TWS Contract Details.
389Supplied routed order ID is not unique.
390Supplied routed order ID is invalid.
391The time or time-zone entered is invalid. The correct format is hh:mm:ss xxx
392Invalid order: contract expired. You can not place an order for the expired contract.
393Short sale slot may be specified for delta hedge orders only.
394Invalid Process Time: must be integer number of milliseconds between 100 and 2000. Found:
395Due to system problems, orders with OCA groups are currently not being accepted. Check TWS bulletins for more information.
396Due to system problems, application is currently accepting only Market and Limit orders for this contract. Check TWS bulletins for more information.
397Due to system problems, application is currently accepting only Market and Limit orders for this contract.
398< > cannot be used as a condition trigger. Please make sure that you specify a valid condition
399Order message error
400Algo order error.
401Length restriction.
402Conditions are not allowed for this contract. Condition order type does not support for this contract
403Invalid stop price. The Stop Price you specified for the order is invalid for the contract
404Shares for this order are not immediately available for short sale. The order will be held while we attempt to locate the shares. You order is held by the TWS because you are trying to sell a contract but you do not have any long position and the market does not have short sale available. You order will be transmitted once there is short sale available on the market
405The child order quantity should be equivalent to the parent order size. This error is deprecated.
406The currency < > is not allowed. Please specify a valid currency
407The symbol should contain valid non-unicode characters only. Please check your contract Symbol
408Invalid scale order increment.
409Invalid scale order. You must specify order component size. ScaleInitLevelSize specified is invalid
410Invalid subsequent component size for scale order. ScaleSubsLevelSize specified is invalid
411The "Outside Regular Trading Hours" flag is not valid for this order. Trading outside of regular trading hours is not available for this security
412The contract is not available for trading.
413What-if order should have the transmit flag set to true. You need to set IBApi.Order.Transmit to TRUE
414Snapshot market data subscription is not applicable to generic ticks. You must leave Generic Tick List to be empty when requesting snapshot market data
415Wait until previous RFQ finishes and try again.
416RFQ is not applicable for the contract. Order ID:
417Invalid initial component size for scale order. ScaleInitLevelSize specified is invalid
418Invalid scale order profit offset. ScaleProfitOffset specified is invalid
419Missing initial component size for scale order. You need to specify the ScaleInitLevelSize
420Invalid real-time query. Information about pacing violations
421Invalid route. This error is deprecated.
422The account and clearing attributes on this order may not be changed.
423Cross order RFQ has been expired. THI committed size is no longer available. Please open order dialog and verify liquidity allocation.
424FA Order requires allocation to be specified. This error is deprecated.
425FA Order requires per-account manual allocations because there is no common clearing instruction. Please use order dialog Adviser tab to enter the allocation. This error is deprecated.
426None of the accounts have enough shares. You are not able to enter short position with Cash Account
427Mutual Fund order requires monetary value to be specified. This error is deprecated.
428Mutual Fund Sell order requires shares to be specified. This error is deprecated.
429Delta neutral orders are only supported for combos (BAG security type).
430We are sorry, but fundamentals data for the security specified is not available.
431What to show field is missing or incorrect. This error is deprecated.
432Commission must not be negative. This error is deprecated.
433Invalid "Restore size after taking profit" for multiple account allocation scale order.
434The order size cannot be zero.
435You must specify an account. The function you invoked only works on a single account
436You must specify an allocation (either a single account, group, or profile). When you try to place an order with a Financial Advisor account, you must specify the order to be routed to either a single account, a group, or a profile.
437Order can have only one flag Outside RTH or Allow PreOpen. This error is deprecated.
438The application is now locked. This error is deprecated.
439Order processing failed. Algorithm definition not found. Please double check your specification for IBApi.Order.AlgoStrategy and IBApi.Order.AlgoParams
440Order modify failed. Algorithm cannot be modified.
441Algo attributes validation failed: Please double check your specification for IBApi.Order.AlgoStrategy and IBApi.Order.AlgoParams
442Specified algorithm is not allowed for this order.
443Order processing failed. Unknown algo attribute. Specification for IBApi.Order.AlgoParams is incorrect
444Volatility Combo order is not yet acknowledged. Cannot submit changes at this time. The order is not in a state that is able to be modified
445The RFQ for this order is no longer valid.
446Missing scale order profit offset. ScaleProfitOffset is not properly specified
447Missing scale price adjustment amount or interval. ScalePriceAdjustValue or ScalePriceAdjustInterval is not specified properly
448Invalid scale price adjustment interval. ScalePriceAdjustInterval specified is invalid
449Unexpected scale price adjustment amount or interval. ScalePriceAdjustValue or ScalePriceAdjustInterval specified is invalid
507Bad Message Length (Java-only) Indicates EOF exception was caught while reading from the socket. This can occur if there is an attempt to connect to TWS with a client ID that is already in use, or if TWS is locked, closes, or breaks the connection. It should be handled by the client application and used to indicate that the socket connection is not valid.
10000Cross currency combo error.
10001Cross currency vol error.
10002Invalid non-guaranteed legs.
10003IBSX not allowed.
10005Read-only models.
10006Missing parent order. The parent order ID specified cannot be found. In some cases this can occur with bracket orders if the child order is placed immediately after the parent order; a brief pause of 50 ms or less will be necessary before the child order is transmitted to TWS/IBG.
10007Invalid hedge type.
10008Invalid beta value.
10009Invalid hedge ratio.
10010Invalid delta hedge order.
10011Currency is not supported for Smart combo.
10012Invalid allocation percentage FaPercentage specified is not valid
10013Smart routing API error (Smart routing opt-out required).
10014PctChange limits. This error is deprecated
10015Trading is not allowed in the API.
10016Contract is not visible. This error is deprecated
10017Contracts are not visible. This error is deprecated
10018Orders use EV warning.
10019Trades use EV warning.
10020Display size should be smaller than order size./td> The display size should be smaller than the total quantity
10021Invalid leg2 to Mkt Offset API. This error is deprecated
10022Invalid Leg Prio API. This error is deprecated
10023Invalid combo display size API. This error is deprecated
10024Invalid don't start next legin API. This error is deprecated
10025Invalid leg2 to Mkt time1 API. This error is deprecated
10026Invalid leg2 to Mkt time2 API. This error is deprecated
10027Invalid combo routing tag API. This error is deprecated
10090Part of requested market data is not subscribed. Indicates that some tick types requested require additional market data subscriptions not held in the account. This commonly occurs for instance if a user has options subscriptions but not the underlying stock so the system cannot calculate the real time greek values (other default ticks will be returned). Or alternatively, if generic tick types are specified in a market data request without the associated subscriptions.
10148OrderId <OrderId> that needs to be cancelled can not be cancelled, state:

An attempt was made to cancel an order that had already been filled by the system.