SMB server does not work with iOS

Hello,
I have set up an SMB server on my MikroTik, which works fine from multiple Linux machines. However, when I try to connect to it from my iPhone (via the Files app) with user credentials, I get an uninformative error saying, ‘The operation couldn’t be completed. Invalid argument’. (to connect I use

smb://<myserverip>/<sharename>

)
However, when I try to access the SMB server WITHOUT credentials (as a guest), I get no error and can access the files.
My question is - is there any other way around this error? As I don’t want to have guest access enabled on my SMB server

Try without share name in uri path:

smb://<myserverip>

On my iPhone also it is not working when I add share name into uri path but without it’s OK, you can access then shared folder from root.

Same error message..

Also for me works with smb:// and user credentials.
ROS 7.9

I see now.. I had the SMB server saved in the ‘Shared’ section on the app. When I pressed ‘Eject’, everything started working. Thank you, everyone!