Now reports http error code if mapper insert fails