Values are being passed correctly; why is uploadArchives failing