Hi Andy, The response body from API should contain a more descriptive message about the cause of the 401 error.
Can you inspect the body of the API response and let us know what it says? @themattharris On Jun 4, 2011, at 19:20, Andy Hume <[email protected]> wrote: > Hi, > > I'm getting some 401 unauthorized responses for reasons I can't figure > out. > > On my local machine everything works fine. On my staging and > production machines I get 401 errors for requests to account/ > verify_credentials. All other requests work fine, such as statuses/ > friends. > > The staging and production machines use different Twitter > applications, so they have different keys and tokens, but as I say > these are working fine for other oauth requests, it's just the account/ > verify_credentials that consistently fails. > > Any other ideas for things to check. Is it possible to get more > information from the API as to why a 401 has been returned? > > Thanks, > Andy. > > -- > Twitter developer documentation and resources: https://dev.twitter.com/doc > API updates via Twitter: https://twitter.com/twitterapi > Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list > Change your membership to this group: > https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
