There is a bug https://bugzilla.mozilla.org/show_bug.cgi?id=1860965 closed as "invalid". In fact there is nothing invalid in it. The OP got error because of Thunderbird not processing OAUTH properly, which happened because of the app setting which co...