(blogger.com gives the same error if you don't .strip() your password before using it to connect) i noticed one spelling mistake here: > headers = { 'Referer' : 'YourCompany', 'Referrer' could it be that simple?