Skip to main content

Troubleshooting

Error: Script Execution timed out. You may retry after increasing the timeout.

While adding a new custom script to your bolt, you write and test your code on a few test rows from the source. So you may not face the timeout issue in this case. But when you save your script and bolt, and while bolt execution, you face this timeout issue. This is because the bolt is executed on the full data from the source and not just a few test rows. The batch size may vary from 1000 to 50000. So depending on the data, the script may timeout, and you’ll have to increase the timeout or decrease the batch size. Note: The maximum timeout is 30 seconds, and the minimum batch size is 1000. If you’re still facing this issue, contact our support team.

Error: The result returned after script execution is of invalid type. The processed rows must be returned.

This error occurs when the object returned from the process function isn't a list of JSON objects. Instead, it's either a non-collection object (list, set, array, etc.) or a collection of map objects with a different datatype (list of integers, set of strings, etc.). Subsequent bolt processes cannot process this type of output. Hence it is not permitted.

Any Question? 🤓

We are always an email away to help you resolve your queries. If you need any help, write to us at - 📧 support@boltic.io