When trying to use /replaceitem on a player, the command fails and shows the message if /replaceitem was used to replace an armor slot: "could not replace slot <slot number> with <item id> x 1.
When trying to use /replaceitem on a player, the command fails and shows the message if /replaceitem was used to replace an armor slot: "could not replace slot <slot number> with <item id> x 1.
cannot confirm, what's the command you used?