Cannot write to some calendars from Thunderbird

After a lot of searching online, it seems that the problem I ran into is related to this one:

I had a special character (a !) in my password, which seems to have caused the problem. I have changed the password and now I can write to the calendars.