GNOME Files SMB shares: "Failed to retrieve share list from server: invalid argument"

What does smbclient report?

smbclient -L <NAS hostname or IP address>

If that checks out, can you browse a share successfully?

smbclient //<NAS hostname or IP address>/<share> -U <username>