Skip to content

V4:Error converting value {null} to type 'System.Int32'. Failed to login on GitLab 15.7.3-ee #224

@vanbreet

Description

@vanbreet

Installed product versions

  • Visual Studio: Professional 2019
  • This extension: 1.0.319

Description

Failed to login

Please check your username or password!

V4_Oauth:Error converting value {null} to type 'System.Int32'. Path '[7].creator_id', line 1, position 28653.
V4:Error converting value {null} to type 'System.Int32'. Path '[7].creator_id', line 1, position 28653.
V3_Oauth:The remote server returned an error: (410) Gone.
V3:The remote server returned an error: (410) Gone.
V3_1:The remote server returned an error: (410) Gone.

This happens on GitLab 15.7.3-ee with LDAP authentication, with 2FA enabled and Personal Access Token.

Steps to recreate

  1. Have the LDAP user with PAT and 2FA enabled
  2. Fill in the Connect to Gitlab parameters: host, username, password (PAT), Enable Two Factor
  3. Click login.
  4. Get the error message: V4:Error converting value {null} to type 'System.Int32'.

Bouncing between with differrence Autodiscover options doesn't help.

Current behavior

Can't connect.

On the active personal access token in GitLab the 'Last Used' status changes from 'Never' to 'A minute ago'.

Expected behavior

It should be able to connect to the self-hosted GitLab instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions