How do I sign in to Google Drive in Libre Office using windows 10.

Each time I try I get the following error after entering the 6 digit code for the 2 step verification using google authenticator, the Dialog Box says: “The specified device is invalid”. I have confirmed the Google Drive password is correct, and have even tried on different windows 10 devices, each time I get the same error.