fn hint_upsert(encode: &Encode) -> String
TODO: perhaps put the hint in notice is better. The error message format might be not that reliable.