Comments (3)
This is down to the way the server api handles certain kinds of errors. Even though you requested json with an Accepts
header, the error is not "deep enough" in the server stack to return json to you. Basically you have to manually check for xml. (This client does as well.)
from node-quickbooks.
Thank you for your quick response. I have modified my application to handle this scenario.
from node-quickbooks.
any updates on this? getting XML in error response.
from node-quickbooks.
Related Issues (20)
- TypeError: Cannot convert undefined or null to object
- How to filter by custom field? HOT 1
- cannot find method to delete a customer HOT 1
- Problem refreshing the token
- Readme Link to API Docs is Incorrect
- Refresh token consistently results in "invalid_grant" qb.refreshUsingToken(token)
- Find methods can't have multiple ORDERBY DESC clauses HOT 1
- `Buffer` constructors are deprecated.
- Connect Button doesn't work HOT 3
- Publish new version HOT 1
- No Support Payment APIs HOT 1
- the client returns an empty error and no data to the callback even though the find request returns data
- Create a Budget
- [Question] How do you send query parameters in a `find` call? HOT 1
- getPreferences / findPreferenceses Not Retrieving All Results HOT 1
- Upgrade deprecated uuid version
- xmldom Critical Vulnerability
- Status of repo's maintenance?
- Support for webhooks?
- Repository doesn't appear in google search
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 node-quickbooks.