scientific-python / circleci-artifacts-redirector-action

GitHub Action to add a GitHub status link to a CircleCI artifact.
MIT License
14 stars 10 forks source link

Action fails with `"Invalid to"... is not valid JSON` #58

Open lagru opened 2 months ago

lagru commented 2 months ago

Hey, over at https://github.com/scikit-image/scikit-image/issues/7542 we've started seeing this action fail with

Error: invalid json response body at https://circleci.com/api/v2/project/gh/scikit-image/scikit-image/7677/artifacts reason: Unexpected token 'I', "Invalid to"... is not valid JSON

I don't really have an idea how to debug this, since I can't find any mention of "Invalid to" in the linked response body and since the action version seems up to date. Any ideas and feedback would be appreciated. :)

bsipocz commented 2 months ago

I've seen this before in my repos, but can't recall what I did besides restarting the job.