Empty result array on search company and search contact

Hello,

I tried a search company : https://api.hubapi.com/crm/v3/objects/companies/search?hapikey=xxxxx

and a search contact : https://api.hubapi.com/crm/v3/objects/contacts/search?hapikey=xxxxx

In both cases i used the same filter (‘mp_number’ is a custom field):

{

“filterGroups”: [

{

  "filters": \[

    {

      "value": "3678",

      "propertyName": "mp\_number",

      "operator": "EQ"

    }

  ]

}

],

“sorts”: [

"id"

],

“properties”: [

"id"

],

“limit”: 0,

“after”: 0

}

And in both cases I get a value in total but the result array is empty:

Company:

{

**"total": 1,**

"results": \[],

"paging": {

    "next": {

        "after": "0"

    }

}

}

Contact:

{

**"total": 35,**

"results": \[],

"paging": {

    "next": {

        "after": "0"

    }

}

}

Why don’t I get any details?

Regards,

Wim

Hey @Manufast

Looks like you set a limit of 0.

Remove that and you should get some content returned :grinning_face: