This happens when you claim expired items from auc while still having 999x of the same tradable entity in your inventory. Which shouldn't be.

Only way to fix it was to stash them, such that the excess would be in stash while leaving the 999x still in your inventory.

Problem is if you manage to have 1,999+ then you can't stash them anymore as it would exceed stack limit.

Sent from my SM-N975F using Tapatalk