Issue while downloading artifacts inside a downstream project

Hi,

I am using the following script in downstream project to download artifacts created from last successful upstream project. But while unzip artifacts.zip receive following error.

Script used below:

$ curl --location --output artifacts.zip --header “JOB-TOKEN: $CI_JOB_TOKEN” “https://gitlab.com/api/v4/projects//jobs/artifacts/main/download?job=build”

$ unzip artifacts.zip

ERROR IS BELOW

**62 end-of-central-directory signature not found. Either this file is not

63 a zipfile, or it constitutes one disk of a multi-part archive. In the

64 latter case the central directory and zipfile comment will be found on

65 the last disk(s) of this archive.

66unzip: cannot find zipfile directory in one of artifacts.zip or

67 artifacts.zip.zip, and cannot find artifacts.zip.ZIP, period.