Make sure the computer hosting the folder has actually granted "Read" or "Write" permissions to your user account.
Manually Mapping a Network drive in Windows 11 and MacOS - NUSupport map network drive windows 11