Correctly report submit errors