Skip to content

Wrong username in Github API calls, those fails #134

@MiguelElGallo

Description

@MiguelElGallo

Describe the bug

  • Using get_me it identifies my correct Github user name lets call it correctuser.
  • Any call to something that used the username, for example:
    Calling to: create_branch fails with:
    MPC -32603: failed to get repository: GET [https://api.github.com/repos/**wronguser**/iparq](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html): 404 Not Found []

Is worth noting that the call is using wronguser in the URL that is why it is failing, the user that puts there is just my login to my Mac OS, NOT my Github username

Affected version

server version v0.1.0 (b893367) 2025-04-04T15:38:21Z

Steps to reproduce the behavior

  1. Use MacOS
  2. Try to call to create_branch
  3. See error

Expected vs actual behavior

It should call the api with:
GET [https://api.github.com/repos/correctuser/iparq]

Logs

MPC -32603: failed to get repository: GET https://api.github.com/repos/wronguser/iparq: 404 Not Found []

As you can see instead of correctuser, is setting a username that is not my github username but the login to my operating systems

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions