Errors

Changed

When a run fails, you get a class, a code, the step, a message, whether it is worth trying again, and a trace id. For a problem in the script you also get the line, the column, and the bar.

runtime.error("message") stops the script with the words you wrote.

log.info, log.warning, and log.error do not stop the script. The run returns the newest log lines. See Reference the connector reads.

What to do#

  • script_compile and script_runtime mean the script itself is the problem. Fix the line. Running the same code again will fail the same way.
  • engine_internal is not your script. Try once more, then send us the trace id.
  • data_provider means the prices could not be loaded. Try again later.
  • timeout and limit mean the script was too slow, too large, or produced too much. Make it lighter.
  • system means the run could not be reached. Try again later.

When a script reads volume and the chart has none, the message is: "This script uses volume, but this chart has no volume data."

The table below is the message you see for each code.

CodeClassMessageRetry
script_compilescript_compileThe script did not compile. Fix the line shown and run it again.Do not retry unchanged
script_runtimescript_runtimeThe script stopped with an error on the bar shown. Fix the line shown and run it again.Do not retry unchanged
script_emptyscript_compileThere is no code to run.Do not retry unchanged
script_inputsscript_compileA setting is not valid for this script. Check the values in its settings.Do not retry unchanged
script_too_longlimitThe script is too long to run.Do not retry unchanged
engine_internalengine_internalThe BullScript™ engine hit an internal error. This is not a problem in your script. Try again; if it keeps happening, send us the trace ID.Retry
engine_unavailableengine_internalThe BullScript™ engine is not available right now. Try again in a minute.Retry
engine_output_unreadableengine_internalThe BullScript™ engine finished but its result could not be read. Try again; if it keeps happening, send us the trace ID.Retry
data_unavailabledata_providerThe market data for this chart could not be loaded. Try again in a moment.Retry
volume_unavailabledata_providerThis script uses volume, but this chart has no volume data.Do not retry unchanged
data_rate_limiteddata_providerToo many markets were opened just now. Try again in a moment.Retry
limit_timetimeoutThe script took too long and was stopped.Do not retry unchanged
limit_memorylimitThe script used too much memory and was stopped.Do not retry unchanged
limit_outputlimitThe script produced too much output and was stopped.Do not retry unchanged
limit_busylimitThe script runner is busy. Try again in a moment.Retry
source_missingsystemThat script version is no longer available.Do not retry unchanged
system_unreachablesystemThe script could not be fetched just now. Try again in a moment.Retry
cancelledsystemThe run was cancelled before it finished.Retry