Fix error detection on bad item upload