Skip to content

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

@matsfinsas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions