Fixed upload error raising