marginally more helpful "wrong content type" error