Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > Partner Program >

Partner applications must use RSA-SHA1 signature method

Started by Manjunath B -   in Partner Program

public class OrganisationController : Controller
public ActionResult Index()
var api = XeroApiHelper.CoreApi();

var organisation = api.Organisation;

return View(organisation);
catch (RenewTokenException e)
return RedirectToAction("Connect", "Home");

I get the following error when api.organisation is called:

Additional information shows as below:
Type definitions should start with a '{', expecting serialized type 'ApiException', got string starting with: oauth_problem=signature_method_rejected&oauth_prob

Can anyone please help on this?
The error message indicates the application type you are using is a partner type one.
But it looks like you are attempting to use it with public application code.

Ronan Quirke (Community Manager)  

Hi Ronan ,
While try to get the Organisation name from Xero ,I got same above error message and Response Code is 400 .
So How can i check i am using application Code is Public / Partner .
If am using Public how shall update the application code as Parner ?
and how should i idendify my partner application code ?

US Firm