Ondownload and open for download link

When we use Open after ondownload, it gives an error after a file link is downloaded
Of course, by ignoring the error, the problem can be solved so that the loop continues, but this is not suitable
Of course, when there is no link and the procedure is followed by clicking, this problem does not exist
I think a new command needs to be created for this.
Another user also had this problem, unfortunately you did not answer him

Hi, do you have a test macro for us? Or does this only happen on a specific website?