JSON syntax error
Better error-handling for bot generation