TryAddItem checks if there’s space and if so calls AddItemAt. So I’d check that ItemObject is getting there.
TryAddItem