Added custom fixlet to upgrade MAC os from Mojave to BigSur, but when we executed the action stuck at pending download stating the error “Download error: “Unexpected HTTP response: 416”.
Your user account downloading a file via Firefox Browser is not the same as the BigFixRootServer service downloading the file. Some statefull firewalls can tell the difference and selectively block the service based traffic but allow the browser based traffic.
Something between the BigFix server and http://swcdn.apple.com is messing with this traffic.
Triple check with your network and firewall teams and mention user agent strings.
Then ask them to show you the firewall logs where traffic between your BigFix server and http://swcdn.apple.com is being allowed to pass without modifications
I can’t recall if it was 416 errors but we have had issues with cdn’s where firewall rules were set as IP rules using the IP that one location resolved the cdn to but that was different to the IP that the main server resolved the cdn to. In those cases a URL rule had to be used. You could also try using wget or curl on the Bigfix server to test the download.
Something like curl -o -v http://swcdn.apple.com/content/downloads/55/59/071-00696-A_4T69TQR1VO/9psvjmwyjlucyg708cqjeaiylrvb0xph94/InstallAssistant.pkg
Or drop the -o and then you see the http responses which may give additional info to help ascertain the root cause.