Hi guys,
We have been using (Linux) CURL command to download ZIP file from bitbucket "downloads" section and its working completely fine. But its not working now. We haven't changed anything except account password.
we are using URL structure as below:
sudo curl -O -L https://bitbucket.org/<ORGANISATION>/<REPO>/downloads/Artifacts.zip -u 'username:AppPassword'
But we are getting this issue: (Actually when we hit above command this file gets downloaded)

By using -v parameter in above command, we are getting details as below:

Also, we have tried creating new app password and added that in above command in user authentication. but its not working.
NOTE: we are aware about new authentication changes made by Atlassian, that we must use app password for authentication and we are using app password for it (not account password) but somehow those changes are not working for us.
Can anyone please tell us what we are doing wrong? because it was working before