Errors

When a call fails, the app gets a class, a code, a message, and whether it is worth trying again. You can ask the app to read that back to you.

What to do#

  • If it says you are not signed in, connect again from Connect Claude or create a new key.
  • If it says there is no session, the app has to start one first. See Sessions.
  • If it says you hit a limit, wait and try again. See Limits.
  • If the script failed, the message names the line. Fix the script. Running it again unchanged will fail the same way.
  • If the prices could not be loaded, try again later.
  • If the message says the service could not be reached, try again later.

If you write to us about a failure, include the trace id. That is enough for us to find it.

CodeOutcomeReasonWhat to do
invalid_argsrefusedthe request was not validCall the same tool again with the argument named in detail fixed: use one of detail.allowed when it is given, and drop any argument detail says is unknown.
script_too_longrefusedthe script is too longShorten the script and call again.
limit_minuterefusedtoo many actions this minuteWait retry_after seconds, then call the same tool again with the same arguments.
limit_dayrefusedthis account used all its AI connector calls for todayStop and tell the member. Calls work again after midnight UTC (retry_after seconds).
limit_marketsrefuseda daily market limit that has since been removed was reachedNo action needed: there is no daily market limit any more. Call the tool again.
history_read_limitrefusedthe daily limit of date-focused chart reads was reachedCall read_chart again without bar, or with bar set to latest, to read the bars on screen. To analyse earlier history, call run_bullscript and compute over it. This chart's date-read budget resets at midnight UTC.
limit_scriptsrefusedtoo many script runs this minuteWait retry_after seconds, then call run_bullscript again with the same arguments.
limit_busyrefusedanother action was still runningWait retry_after seconds for your other call to finish, then call the same tool again.
limit_response_sizeerrorthe answer was too largeAsk for less (fewer bars or a narrower request).
pausedrefusedyou paused all AIStop. Do not continue unless the member resumes AI and asks again.
pause_unknownerrorwe could not check whether AI is pausedTry again. If it keeps happening, tell the member.
auth_revokedrefusedthis connection was removedStop. The member has to connect again.
connector_lockedrefusedthis account cannot use the connectorStop and tell the member.
feature_lockedrefusedthat is not included in this accountStop and tell the member.
market_not_foundrefusedthat market was not foundCall search_markets with query set to the name or ticker, then call this tool again with symbol and venue from one result.
spot_not_foundrefusedthat spot market was not foundCall search_markets with query set to the ticker, then call this tool again with a spot symbol and venue from the results.
missing_symbolrefusedno market was namedCall this tool again with symbol set (for example BTCUSDT) and venue (for example BINANCE); use search_markets to find them.
market_load_failederrorthe market data did not loadTry again. If it keeps happening, tell the member.
market_rateerrormarket data was busyWait a moment, then call again.
prepare_failederrorsomething went wrong on our sideTry again. If it keeps happening, tell the member.
hook_unreachableerrorsomething went wrong on our sideTry again. If it keeps happening, tell the member.
tool_failederrorsomething went wrong on our sideCall get_session_activity to see whether it was done, then call the same tool again once if it was not. If it keeps happening, tell the member.
script_failederrorthe script did not runRead error_detail, fix the script and run it again.
layout_not_foundrefusedthat layout was not foundCall list_layouts, then call this tool again with layout set to one of the returned names, or Default for the member's own chart.
layout_name_takenrefuseda layout with that name already existsCall this tool again with a name that is not in list_layouts, or call use_layout with that name to work on the existing one.
indicator_not_foundrefusedthat indicator is not on this chartCall read_chart for the same layout. Each copy has an id. Call this tool again with id set to one of those ids.
indicator_already_presentrefusedalready on this chartThis code is no longer returned. add_indicator adds another copy and returns its id.
indicator_limitrefusedthis chart already has as many indicators as this account can have on one chartCall remove_indicator with the id of one copy, then call add_indicator again.
invalid_settingsrefusedthe settings were not validCall list_indicators with name set to this indicator to see the settings it takes, then call this tool again with settings as a JSON object of those names (for example {"length":20}).
script_not_foundrefusedthat script was not foundCall list_scripts, then call this tool again with script set to one of the returned ids.
script_compileerrorthe script has an errorFix the code at error_detail.line and error_detail.column, then call run_bullscript again with the corrected code.
script_inputserrorthe script's inputs were not validFix the input named in error_detail, then call again.
script_runtimeerrorthe script failed while runningFix the problem at the bar and line in error_detail, then call again.
script_emptyerrorthe script draws nothingAdd a plot or another output, then call again.
engine_internalerrorsomething went wrong on our sideTry again. If it keeps happening, tell the member.
engine_unavailableerrorsomething went wrong on our sideTry again. If it keeps happening, tell the member.
engine_output_unreadableerrorsomething went wrong on our sideTry again. If it keeps happening, tell the member.
data_unavailableerrorthe market data did not loadTry again. If it keeps happening, tell the member.
data_rate_limitederrormarket data was busyWait a moment, then call again.
volume_unavailableerrorThis script uses volume, but this chart has no volume data.Change Source to a price such as close, or open a symbol that has volume.
limit_timeerrorthe script took too longMake the script do less work, then call again.
limit_memoryerrorthe script used too much memoryMake the script do less work, then call again.
limit_outputerrorthe script's output was too largeDraw less, then call again.
source_missingerrorthe script's code is not availableSave the script again, then run it.
system_unreachableerrorsomething went wrong on our sideTry again. If it keeps happening, tell the member.
cancellederrorit was cancelledCall again if it is still needed.
session_requiredrefusedno session is open for this connection, so this call was not runCall start_session with goal set to one short sentence, for example "Build an RSI divergence script for BTC/USDT 4H". Then call this tool again with the same arguments.
goal_requiredrefusedthe goal was missing, empty, or a placeholder such as "Goal not stated", so no session was startedCall start_session with goal set to one short sentence, for example "Build an RSI divergence script for BTC/USDT 4H". Then call this tool again with the same arguments.
session_limitrefusedtoo many sessions this hourKeep working in one session; try again later.
session_unknownerrorwe could not check the sessionTry again. If it keeps happening, tell the member.
session_clearedrefusedthe member ended this session and cleared the activityIf they still want you to work, call start_session with your goal if it is in your tool list, then continue. This would be a new session.
session_ended_by_userrefusedthe member ended this sessionCall start_session with goal set to one short sentence, for example "Build an RSI divergence script for BTC/USDT 4H". Then call this tool again with the same arguments.
agent_stoppedrefusedyou stopped this agentStop. Do not continue unless the member resumes this agent and asks again.
unknown_toolrefusedthat action does not existUse one of the tools from the tool list.
nothing_to_changerefusedthere was nothing to changeCall configure_indicator again with settings set to the values to change, or skip it if nothing needs changing.
layout_default_fixedrefusedthe Default layout cannot be renamed or deletedCall list_layouts and use a named layout, or call create_layout to make one.
layout_limitrefusedthis account has as many layouts as it can keepCall list_layouts, then use_layout to reuse one, or ask the member before calling delete_layout.
script_save_failederrorthe script could not be savedTry again. If it keeps happening, tell the member.
script_name_reservedrefusedthat name is reserved for BullmaniaCall this tool again with name set to a different name that does not contain Money Line or Bullmania in any spelling, and tell the member why in user_message's words.
script_not_compiledrefusedthe newest version has not compiledCall read_script, fix the errors, call save_script with expected_version set to its version, then call this tool again.
username_requiredrefuseda username is needed firstTell the member to choose a username, then try again.
username_not_foundrefuseda username was not foundCall search_usernames for each username named in detail, then call this tool again with the usernames it returns.
invite_selfrefusedyou cannot invite yourselfInvite someone else.
invite_limitrefusedthat is too many invitesInvite fewer people.
invite_only_limitrefusedthis account cannot share scripts Invite-onlyTell the member. Only me and Public still work.
alert_not_foundrefusedthat alert was not foundCall list_alerts, then call this tool again with id set to one of the returned ids.
alert_invalidrefusedthe alert was not validCall this tool again with every alert field set (symbol, venue, timeframe, condition, and price for a price condition) and the field named in detail fixed. A webhook link uses the same checks as the alert dialog.
webhook_key_existsrefuseda security key already existsCall get_alert_webhook to confirm. Call rotate_alert_webhook_key with action rotate only when the member asks you to replace it. The existing key is not returned.
webhook_unavailableerrorthe webhook could not be read or savedTry again. Nothing was changed. If it keeps happening, tell the member.
webhook_raterefusedtoo many alert changes this minuteWait a minute, then call this tool again.
watchlist_not_foundrefusedthat market is not on WatchingCall get_watchlist, then call this tool again with id set to one of the returned ids.
watchlist_invalidrefusedthat watchlist change was not validCall get_watchlist, then call this tool again with the field named in detail fixed. Nothing was changed.
watchlist_limitrefusedWatching is fullCall remove_from_watchlist for a market the member no longer follows, then call add_to_watchlist again.
watchlist_section_not_foundrefusedthat Watching section was not foundCall get_watchlist and use a name from sections, or omit section. Nothing was added.
watchlist_unavailableerrorthe watchlist could not be readTry again. If it keeps happening, tell the member.
usernames_unavailableerrorusernames could not be searchedTry again. If it keeps happening, tell the member.
internal_errorerrorsomething went wrong on our sideCall get_session_activity to see whether it was done, then call the same tool again once if it was not. If it keeps happening, tell the member.
partial_changeerroronly part of it was savedRead partial.not_done, then call the same tool again with the same arguments to finish it.
version_conflictrefusedthe script changed since you read itRead the script again, merge your change, and save with expected_version set to current_version.
script_saved_not_compilingerrorit was saved but does not compileFix the errors at the lines and columns in errors, then save again with expected_version set to version.
interruptederrorit was interrupted and may not have finishedCall get_session_activity (or read_chart) to see whether it was done, then call the tool again only if it was not.
drawing_not_foundrefusedthat drawing was not found on this chartCall list_drawings for the same chart (the same symbol, venue and layout), then call this tool again with an id it returns. detail.ids lists ids that exist, and detail.id or detail.missing the ids that do not. Nothing was changed.
drawing_lockedrefusedthat drawing is lockedTell the member the drawing is locked. Only if they asked you to change or delete it, call update_drawing with locked set to false (new points may go in the same call), then call this tool again. detail.locked names the locked drawings. Nothing was changed.
drawing_not_editablerefusedthat drawing can only be changed on the chartTell the member that only they can change this drawing, on the chart. delete_drawing can still remove it if they ask you to. Nothing was changed.
drawings_too_largerefusedthis chart's drawings are at the size limitAsk the member which drawings on this chart they no longer need, delete those with delete_drawing, then call this tool again. Nothing was saved.
backtest_not_strategyrefusedthat script is not a strategyA backtest needs a BullScript™ strategy: a script that starts with strategy() and trades with strategy.entry, strategy.order or strategy.close. Save one with save_script, then call run_backtest with its id.
backtest_declarationrefusedthe strategy's settings were not validFix the strategy() line as the error says, save the script with save_script, then call run_backtest again.
backtest_marketrefusedbacktests do not run on that market yetBacktests run on crypto spot markets and US stocks and ETFs. Call search_markets for a spot or US stock listing, then call run_backtest again with its symbol and venue.
backtest_rangerefusedthe dates hold too few closed barsCall run_backtest again with from and to further apart, or without both to test the whole history.
chart_not_shownrefusedthe member is viewing another chartCall open_chart with the symbol, venue and timeframe you want to show (detail.shows is the chart on screen), then call set_visible_range again. Or omit symbol, venue, timeframe and layout to zoom the chart on screen.
range_outside_historyrefusedthat period is outside the chart's historyCall set_visible_range again with from and to between detail.history_start and detail.history_end. For a period older than a 1H or 4H chart holds, call open_chart with timeframe 1D first.
backtest_limitrefusedthis account ran as many backtests as it can this hourStop and tell the member. Backtests can run again after retry_after seconds.
backtest_not_foundrefusedthat backtest was not foundCall list_backtests, then call get_backtest with id set to one of the returned ids.