When you are integrating Xero API with outsystem, this error come because you are not using token key & secret key. In Xero, when you call main xero api to get/put/post method before that you need to call 3-4 api just to know token key, scret key etc.