Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > Getting Started >

Invalid authorization credentials

Started by Paul T -   in Getting Started

Hello, I use calcinai/xero-php.
I used different test examples and get this exception error: "Invalid authorization credentials"


To create keys I used this manual:
https://developer.xero.com/documentation/api-guides/create-publicprivate-key

Help me please, I am stuck.
This code is provided by the developer community - Xero does not warrant it in any way
You won't normally need to specify the the 'rsa_public_key' when using a Private App. Can you try removing that line and see how you get on.
 

Robin Blackstone (Community Manager)