I don't think you need the quotes here: robocopy "\\Ascthrifter2\er2_d" "\\172.16.103.182\public\2022-06-23" as there is no space between anything, I have seen where you need them and not need them causing problems. The other quotes are needed due to the spaces.
Your error is saying access...