Skip to content

Intermittent type error: "parameter issue_number is not of type float64" #1914

Description

@matsfinsas

Describe the bug

add_issue_comment intermittently fails with a type error on the issue_number parameter, then succeeds on retry with identical parameters.

Affected version

HTTP https://api.githubcopilot.com/mcp

Current version iaw. repo is 0.30.2

Steps to reproduce the behavior

  1. Call add_issue_comment with valid parameters:
    {
      "owner": "username",
      "repo": "reponame",
      "issue_number": 2649,
      "body": "test comment"
    }
  2. Observe error: parameter issue_number is not of type float64
  3. Retry the exact same call
  4. Call succeeds

Expected vs actual behavior

Expected: The call should succeed on the first attempt since issue_number is a valid number.

Actual: Intermittently fails with type error, succeeds on retry.

Logs

parameter issue_number is not of type float64

Client: Claude Code CLI 2.1.22

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions