check on the official mi flash tool if account is authorized or not then it might solve the problem