fixed error message for exceeding batch size to be the same as from the API