I have run into this as well. It seems to be related to the 248k Mod for me. It looks like that mod is changing something that interferes with how the stack size is being changed. I don't know enough about modding to be able to tell you what is being changed though. Possibly that mod is replacing logistic-robot with fu_robo_logistic_item? Changing the item from logistic-robot to fu_robo_logistic_item changes the error message to one about a table was expected.