APIs & Integrations

ECVCPortal
Member

400 Response when calling objects/deals with propertiesWithHistory and limit

Hi,

 

I've been calling to the objects/deals endpoint using GET and having some problems with getting a response.

 

If I call to the following url I get a 200 response and the info I need:

https://api.hubapi.com/crm/v3/objects/deals?propertiesWithHistory=dealstage&properties=job_number&ar...

 

If I add a limit to that I get a 400 response:

https://api.hubapi.com/crm/v3/objects/deals?propertiesWithHistory=dealstage&properties=job_number&ar...

 

If I remove propertiesWithHistory from the above it works fine again. The other oddity is that if I call it from one instance of PowerBi that we're using it works but not from another. If I call it from a script it doesn't work.

 

Any help would be appreciated.

0 Upvotes
1 Reply 1
ECVCPortal
Member

400 Response when calling objects/deals with propertiesWithHistory and limit

It seems that adding propertiesWithHistory reduces the max of the limit to 50, I can't see this in the documentation though?

0 Upvotes