actions / download-artifact

MIT License
1.44k stars 495 forks source link

[bug] Failed to ListArtifacts due to Unexpected token #315

Open mryzhov opened 8 months ago

mryzhov commented 8 months ago

What happened?

We sporadically encountered the following error while downloading the build artifacts: 2024-03-22T13:34:52.0096943Z Downloading single artifact 2024-03-22T13:35:22.4157131Z ##[error]Unable to download artifact(s): Failed to ListArtifacts: Unexpected token '<', "<!DOCTYPE "... is not valid JSON Attached the full log of the failed step: 7_Python unit tests.txt And log where build artifact has been created and uploaded: 1_Build.txt

What did you expect to happen?

How can we reproduce it?

The issue could not be easily reproduced since it occurred sporadically. The possible steps are:

Anything else we need to know?

No response

What version of the action are you using?

v4

What are your runner environments?

self-hosted, window

Are you on GitHub Enterprise Server? If so, what version?

No response

Mi-La commented 7 months ago

Maybe related to https://github.com/actions/upload-artifact/issues/543?