Not able to download JIRA attachment

I am not able to download JIRA attachment. The status response is 200 but still downloading an empty file. No data present in the file.

You have here the exact part of the movie where I download files from JIRA via REST API commands

Cristian Negulescu