I very recently run into problems when I try to download artifacts via gradient (CLI + Python API). It appears that the job client encounters a “Bad Gateway” response from the repository. Could that be a configuration problem or is there some change in the API? It is possible to download the artifacts manually on the job-detail page.
It would be great if someone could help! Find some details below.
What I did:
python: artifact = jobs_client.artifacts_get(job_id=MY_JOBID)
CLI: gradient jobs artifacts get --id MY_JOBID
Extracts from what I got:
/gradient/api_sdk/clients/job_client.py in artifacts_get(self, job_id)
342 repository = self.build_repository(GetJobArtifacts)
→ 343 data = repository.get(jobId=job_id)
344 return data
ResourceFetchingError: Failed to fetch data
…api.paperspace.io | 502: Bad gateway