Better error message via api when content model does not allow editing