Workflow Execution
Troubleshooting > Workflow Execution.
The "Maximum call stack size exceeded" error
Text and meaning of the error
Such error can occur while running a workflow. The bot will stop and you will see a console message: Maximum call stack exceeded
.
This error most likely means that at some point your algorithm starts calling a function, which in turn calls for another fucntion and so on. This leads to the necessary branch of the condition to fail. For example, it could be a subprogram calling itself, which essentially turns the algorithm into an infinite loop.
Solution
The best thing you can do here is to divide the algorithm into smaller parts and check that the activities conditions are set correctly and that nothing turns the algorithm into an infinite loop.
The "Unexpected token P in JSON at position 0" error
Text and meaning of the error
The Unexpected token P in JSON at position 0
error can occur if you try launching .neex-files created in Studio Pro (versions 7.X and higher) via Bot Runner (versions lower than 7.X).
Solution
To avoid this error, you need to update Bot Runner to a version higher than 7.X.
Updated over 1 year ago