This kind of incident occurs for two reasons,

1 – It is possible that the Login information stored in the KeyChain is not updated or corrupted, which is why Apple staff recommends deleting the Login type entry from the Keychain that points to the network share (Windows server )

2- The users at the time of establishing the connection, are using to define the type of connection SMB:// Windows protocol that has been deprecated for some time. Therefore, when establishing the new connection to the shared resource, it is recommended to use CIFS://

Once the connection key has been removed from the KeyChain and replacing the SMB:// with CIFS:// in the connection string, everything will work satisfactorily.