For my Android application project i am sing secure files feature. Project-level Secure Files API | GitLab i have followed this link to download the files for my cicd pipeline but it always returns "500 internal error "
{“message”:“500 Internal Server Error”}
above is the content always getting written into the file which it’s created. Below i have added my sample script
secure_file:
image: alpine
stage: init
variables:
SECURE_FILES_DOWNLOAD_PATH: './'
before_script:
#- apt update && apt install -y curl
- apk add curl jq
script:
- curl --request GET --header "PRIVATE-TOKEN: my token" https://../api/v4/projects/../download --output value.json
- cat value.json