Coder Social home page Coder Social logo

Comments (7)

waynerobinson avatar waynerobinson commented on July 18, 2024

You'll need a little more detail than that.

This error is caused because the response from Xero can't be parsed by the XML parser and so when it is checking the root of the XML for the node, it is raising an exception.

I have updated master to check whether the XML was parsed at all however, this is still going to be raising an error because something is going wrong.

from xeroizer.

waynerobinson avatar waynerobinson commented on July 18, 2024

It may be worthwhile using http://api.xero.com to check the request log for your app and see what is going wrong.

from xeroizer.

layby42 avatar layby42 commented on July 18, 2024

yes, you are right xero_gateway.Contact.all(:order => 'Name') also returns same exception, while xero_gateway created without issues

from xeroizer.

waynerobinson avatar waynerobinson commented on July 18, 2024

Sorry, I'm not sure what is causing your issues. I have just done some of my own testing and I'm not getting any errors back for requests like xero.Contact.all with my accounts.

I would suggest you check the logs at http://api.xero.com and see what your requests are doing. Ensure that your keys are setup and current (remember, you may have only signed your private key for 12 months). If all else fails, you can always email Xero directly at [email protected] to see if they have more insight that you aren't able to get directly from http://api.xero.com.

from xeroizer.

layby42 avatar layby42 commented on July 18, 2024

Thank you very much for your help! It looks like something suddenly get wrong with this particular Xero account. Contacting the account owner... Will post an update if the issue was due to private key expired on Xero

from xeroizer.

layby42 avatar layby42 commented on July 18, 2024

The issue was due to expired private key. It is resolved. Thanks for your help!

from xeroizer.

waynerobinson avatar waynerobinson commented on July 18, 2024

Not a problem.

from xeroizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.