It appears that I have found the solution. Before I was copying the link of the "download" button from the popup that i got when i clicked on the file from the "my files" section. Apparently, you need to copy the link of the "dowload" button from the popup that you get when you click on the file from the "links section". It is a very small difference but it seems to be the problem. I hope this helps anyone else who has this problem!