Comments (2)
@emafriedrich
Deepest apologies for such a delayed response.
Is this still an issue?
I tried to reproduce, but cannot. Looking at the library code I do see there is a chance an empty object is passed in as an error https://github.com/pipedrive/client-nodejs/blob/master/lib/restHandlers.js#L50 But this is too vague to try to fix from - could be a bug with the underlying library or a mishandled use case.
If this is still relevant can you please try and turn console logging on by setting PIPEDRIVE_DEBUG=true
in your environment? You should then see details about the requests and responses.
Another option for further digging would be to use the rawResponse
in the callback (returned as the fifth argument) and check the actual status code. I suspect it is something 4XX or 5XX related.
from client-nodejs.
Closing this as there is now an updated version of the client available which does give an appropriate error response.
from client-nodejs.
Related Issues (20)
- Old version of formidable in superagent 5.3.x has a critical vulnerability HOT 1
- Normalization of a custom monetary field currency causes an error HOT 3
- Update organization forcing name as required HOT 2
- Api for search deals HOT 2
- Normalization of a custom field fails with null values HOT 1
- Cannot find module @babel/runtime/helpers/interopRequireDefault HOT 2
- Typo in OpenAPI document HOT 1
- TypeError: data.map is not a function HOT 2
- OrganizationsApi getOrganizations seems to ignore filter HOT 2
- more breaking changes on version 18 HOT 1
- Go SDK + CloudQuery Source Plugin HOT 1
- Critical dependency: the request of a dependency is an expression HOT 2
- Problem Adding a Person HOT 2
- Wrong example HOT 1
- ENAMETOOLONG: name too long upon install on Linux
- Why are collection endpoints' "since" timestamp inclusive?
- New Project Endpoints HOT 2
- Issue With Documentation of ActivityResponseObject HOT 2
- Throwing errors and good practices HOT 5
- Adding webhook HOT 3
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 client-nodejs.