you can also try it will skip the songs that are missing. you need to select the songs that you wont it to run on before running
and you should look under results not replies
tell application "Music"
repeat with aTrack in selection
try
refresh aTrack
end try
end repeat
end tell