How can I fix the 'Item code ‘####’ is not valid' error?