Skip to content

cast exception seen when calling github.issue.addLabelsToIssue() #410

Closed
@devoncarew

Description

I'm starting to see a cast exception when calling github.issue.addLabelsToIssue(). I suspect an github api / encoding change? Calls from just a few hours ago were working.

type '_Map<String, dynamic>' is not a subtype of type 'List<dynamic>'
#0      GitHub.requestJson (package:github/src/common/github.dart:335:33)
<asynchronous suspension>
#1      GithubService.addLabelsToIssue (package:sdk_triage_bot/src/github.dart:[40](https://github.com/dart-lang/sdk/actions/runs/10607949422/job/29401239405#step:6:41):5)
<asynchronous suspension>
...

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions