The error because your Mi Account is not authorized, Request you to check if your Mi Account has the required Authorization.

Regards,
TK