Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > Partner Program >

oauth_token is empty

Started by M U -   in Partner Program

Hi folks,

I'm having a trouble with our Xero partner app. I'm getting an error - this page requires a valid OAuth request key.

To understand the error in detail, I debug the code and found that

IToken requestToken = consumerSession.GetRequestToken();
requestToken object has both the properties Token and TokenSecret set to blank/empty value.

This is a ASP.NET code running on IIS 7 on Windows 2008.

I've also created a sample C# console application when I run it I don't face this issue.

Can anyone please help or point me to the right direction?