Comments (7)
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.
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.
yes, you are right xero_gateway.Contact.all(:order => 'Name') also returns same exception, while xero_gateway created without issues
from xeroizer.
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.
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.
The issue was due to expired private key. It is resolved. Thanks for your help!
from xeroizer.
Not a problem.
from xeroizer.
Related Issues (20)
- Question: Does Xeroizer support OAuth 2? HOT 2
- `.sent_to_contact` on Invoices is undefined HOT 3
- Update the readme/documentation to include Oauth2Application HOT 2
- Xero Deprecation Notice - OAuth 1.0a HOT 1
- Timeout option not set correctly on OAuth 2 client HOT 3
- invoice.save returns false but invoice.errors is empty HOT 15
- New gem release? HOT 6
- How to get all the Items from Xero account HOT 1
- NameError: uninitialized constant Xeroizer::OAuth2Application HOT 4
- Double raise for expired tokens? HOT 2
- GET ERROR WHE do any object.save HOT 2
- trying to run tests as a developer... HOT 5
- syntax error, unexpected ',' in branding_theme.rb HOT 1
- Line Amount can not explicity be set to 0.00 if there is a discount
- Missing require somewhere: "uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState" when used outside of Rails HOT 3
- AuthorizationUnsuccessful error HOT 2
- ApiExceptions result in parse error
- Saving Quotes
- BankAccount Model Not Available?
- How to revoke token / delete current_connection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xeroizer.