Comments (10)
Best one is support chat in the app
https://support.pipedrive.com/hc/en-us/articles/115005875565
Optionally, there is also community forum that can also answer questions on API
https://devcommunity.pipedrive.com/
from client-nodejs.
Did you try making API request from postman or other method, does it hang too?
from client-nodejs.
Yes, I tried making the request to my API endpoint (which calls all of those functions sequentially) from both my website test environment and Postman.
from client-nodejs.
If API hangs in postman too, then better to report it to support engineers, then we can trace / check logs of your company
from client-nodejs.
@tot-ra what is the best channel to do that through?
from client-nodejs.
It seems that the API endpoint is healthy. Commenting out the code that uses this library and using axios to post the /deals endpoint directly instead returns a successful and expected response:
function createDeal(title) {
axios.post('https://<my-pipedrive-domain>.pipedrive.com/v1/deals?api_token=<my-api-token>', {
title,
}).then((res) => {
console.log(`statusCode: ${res.statusCode}`)
console.log(res)
})
.catch((error) => {
console.error(error)
})
// return new Promise(resolve => pipedrive.Deals.add({ title }), (err, decoded) => {
// if (err) {
// Sentry.captureException(new Error(err));
// return resolve({});
// }
// return resolve(decoded)});
}
Note that all of the other functions I'm using from this package resolve as expected (pipedrive.Organizations.add, pipedrive.Persons.add).
from client-nodejs.
@petedejoy
Could it be you are making a lot of requests? There is some rudimentary rate limiting which tries to debounce the requests. I guess there might be a condition where requests pile up and will maybe be made far in the future.
Could you possibly monitor the x-ratelimit-*
headers from the API responses and see what they look like just before you are seeing timeouts?
from client-nodejs.
I really don't think I'm hitting a rate limit- I make like 3 requests a day. Another interesting thing is that, while changing the one deals
function to use Axios instead of this library caused everything to run as expected, changing everything to Axios calls produces the same result as described here- the first two calls pass and the third gets hung up.
from client-nodejs.
Can you maybe try to turn on logging by setting PIPEDRIVE_DEBUG=true
in your environment? And see what the output says?
Also, as @tot-ra suggested, it might make sense to open a support ticket via support chat - we might have to track this issue on our server side and check the logs, but for that we need company account information, which should never be shared here.
from client-nodejs.
Closing this due to inactivity and the release of the new version of the client.
from client-nodejs.
Related Issues (20)
- 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
- Overwriting Axios interceptor cause issue to the application HOT 2
- Using custom fields with the TypeScript version HOT 3
- Error when just import the package HOT 11
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.