Url to attachment script downloading incorrect file type

I’m using the popular script for downloading attachments from a url to an attachment field in AT, but I’m running into issues with the file typing. The url I’m using is a direct download link to an mp3 file in Box, and this script has worked on these files before, but in some cases rather than downloading the mp3 file, it’s downloading the html of the download page instead and loading it into AT as a text file.

The file it downloads looks like it’s asking for Box credentials, but I’ve double-checked the links in Box and they’re all set to be downloadable with just access to the link, so it isn’t (or shouldn’t be) a permissions issue.

Has anybody run into this before?

This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.