Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After connecting, receive an error message MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits." #66

Open
mmcintyre123 opened this issue Sep 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mmcintyre123
Copy link

Describe the bug
After making a connection in PowerShell 7.4.5 I get the following output:

MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."
MethodInvocationException: Exception calling "ToByte" with "2" argument(s): "Could not find any recognizable digits."

But then I see my email and SessionID, and upon testing I find that the connection was made successfully.

To Reproduce
Steps to reproduce the behavior:

  1. In PowerShell 7.4.5 run Connect-Lastpass -Credential <last_pass_email>, where <last_pass_email> is the username/email for the lastpass account.
  2. Enter the password when prompted
  3. I use LastPass's Authenticator app, so I see the following prompt on the cli:
    Complete multifactor authentication through LastPass Authenticator or enter a one time passcode:
    I simultaneously get a push notification on my phone. I click "Accept" and enter my pin.
  4. The authentication process proceeds on the cli, and this is when I see the errors above.
  5. After the errors finish printing (it takes several seconds) I see:
Email                SessionID
-----                ---------
<redacted>    <redacted>

Note: the errors appear both with and without MFA enabled.

Expected behavior
No error messages - just a message that says "Authentication successful" (or something like that) followed by the Email and SessionID.

Platform:

  • OS: Windows 11, Version 10.0.22631 Build 22631
  • PowerShell 7.4.5
@mmcintyre123 mmcintyre123 added the bug Something isn't working label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant