MovableType Invalid login error on XML-RPC call


I have worked with XML-RPC calls in the past to interact with MT in the past but after release of version 3.2 onwards I did not get a chance to work with it again, until recently. I used the Argotic Syndication Framework to interact with the MT XML-RPC. However I was constantly getting ‘Invalid login’ error even when I used the MT administrators details. I even tried using Fiddler to make sure that it was nothing in my code that was creating the issue.  The method mt.supportedMethods returns all supported methods perfectly fine, however metaWeblog.getRecentPosts returned invalid login error.

After doing a lot of debugging I finally found out this documentation which indicates that each user has got a separate password for remote API.  Once I changed the password for the user I was using to connect through the remote API, all started to work okay.

The way to alter this password is as under.

1. Log into MT
2. Click on your username in the top navbar to go to your profile
3. Scroll down to the bottom where you see “API Password”
4. Input the password of your choice and save. For security reasons, it should be different from your normal password
5. Use that password in your client software

Advertisements

4 thoughts on “MovableType Invalid login error on XML-RPC call

  1. Hi
    Thanks for a such a good article.

    I am trying lots to work with my code but it says me invalid login but when i try api password , it works on a fly.

    i will post my code on my blog with full article so user like me that finds a problem with integration can solve this issue.

    thank you again

    Vasim Padhiyar

  2. naturally like your website however you have to take a look at the spelling on several of your posts. Many of them are rife with spelling problems and I find it very bothersome to tell the truth then again I will surely come back again.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s