I received the same exact error every time i attempt to execute a filtered search request on the https://api.hubapi.com/crm/v3/objects/deals/search endpoint. Through trial and error I found out that applying a filter on "id" is problematic.
read more