Throw error when body is empty