VSCode plugin throws error "Cannot read property 'account_id' of undefined" when trying to create a pull request

Issue #300 resolved
Kenny Geens created an issue

I’m getting the error “Cannot read property 'account_id' of undefined” when trying to reate a pull request through the visual studio code plugin (version 2.1.5).

I have already tried removing and adding the Bitbucket cloud login in the settings screen. I’ve also tried disabling 2 step authentication. Neither of which works.

My branches load correctly but I can’t select reviewers.

Comments (8)

  1. Pramod Busam Account Deactivated

    Hi Kenny,

    Could you provide a few more details to help us debug the issue?

    • Does this happen only when selecting reviewers? Can you create a pull request if you do not select any reviewers?
    • Do the other features of the extension work? For example, can you see the list of pull requests in the side bar and open the details and file diffs?
  2. Kenny Geens reporter

    I’ve done some further testing.

    • I can see pull requests
    • I can approve and merge pull requests
    • I can see the features in the “create a pull request screen”
    • I can see the changed files
    • I can create the pull request without reviewers
    • I get the error when I land on the “create a pull request” screen, not when selecting reviewers, the reviewers dropdown is empty but I can select them when entering their full username (which is really not user friendly, but that's besides this issue)

  3. Pramod Busam Account Deactivated

    @Kenny Geens We released version 2.2.0 of the extension with some bug fixes. Could you try it out and let us know if that fixes the issue?

  4. Log in to comment