SFM - Can't upload to steam workshop

I was on my way to uploading my first map to the SFM Workshop of all things and I get this error message “unable to connect to Steam.” I searched the internet and came to no avail.
and when I use a alt account it works but for some reason using my main account wont work. I really need help, thanks everyone!.