Increase the player bag size.
Mods introducing new content into the game.
More than just chests.
During game loading mode return message „player is nil”. Proper code below:
data.raw.character.character.inventory_size = 1000