Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Hubspot CRM Search Object Filter Operator Fails #39401

Open
1 task done
zonywhoop opened this issue Feb 22, 2025 · 0 comments
Open
1 task done

[Bug]: Hubspot CRM Search Object Filter Operator Fails #39401

zonywhoop opened this issue Feb 22, 2025 · 0 comments
Assignees
Labels
Bug Something isn't working Community Reported issues reported by community members High This issue blocks a user from building or impacts a lot of users Hubspot Issues related to Hubspot integration Integrations Product Issues related to a specific integration Needs Triaging Needs attention from maintainers to triage Production Query & JS Pod Issues related to the query & JS Pod Query & Widgets Pod All issues related to Query, JS, Eval, and Widgets

Comments

@zonywhoop
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Description

When I enter EQ, "EQ", 'EQ', {{"EQ"}} into filter operator the value is never properly quoted in the final API call so it fails.

The final request for EQ will be:

"body":"{ "filterGroups":[ { "filters":[ { "value": "test", "propertyName": "location", "operator": EQ } ] } ], "sorts": [ { "propertyName": "sponsor_year", "direction": "DESCENDING" } ] , "query": , "properties":["dealname", "dealstage", "hs_lastmodifieddate", "createdate", "location", "sponsor_year", "sponsorship_tier"], "limit": 1000, "after": 0 }"

The final request for "EQ" will be:

"{ "filterGroups":[ { "filters":[ { "value": "test", "propertyName": "location", "operator": %22EQ%22 } ] } ], "sorts": [ { "propertyName": "sponsor_year", "direction": "DESCENDING" } ] , "query": , "properties":["dealname", "dealstage", "hs_lastmodifieddate", "createdate", "location", "sponsor_year", "sponsorship_tier"], "limit": 1000, "after": 0 }"

Neither works for the needed json string of "EQ"

Steps To Reproduce

  1. Add Hubspot SaaS integration
  2. Create query on page
  3. Select "CRM Search Object"
  4. Enter values for search parameters
  5. For "Operator" enter EQ or "EQ"
  6. Click Run

Public Sample App

No response

Environment

Production

Severity

High (Blocker to building or releasing)

Issue video log

No response

Version

Self Hosted - 1.6.0

@zonywhoop zonywhoop added Bug Something isn't working Needs Triaging Needs attention from maintainers to triage labels Feb 22, 2025
@Nikhil-Nandagopal Nikhil-Nandagopal added Community Reported issues reported by community members High This issue blocks a user from building or impacts a lot of users Production Hubspot Issues related to Hubspot integration labels Feb 22, 2025
@github-actions github-actions bot added Integrations Product Issues related to a specific integration Query & JS Pod Issues related to the query & JS Pod Query & Widgets Pod All issues related to Query, JS, Eval, and Widgets labels Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Community Reported issues reported by community members High This issue blocks a user from building or impacts a lot of users Hubspot Issues related to Hubspot integration Integrations Product Issues related to a specific integration Needs Triaging Needs attention from maintainers to triage Production Query & JS Pod Issues related to the query & JS Pod Query & Widgets Pod All issues related to Query, JS, Eval, and Widgets
Projects
None yet
Development

No branches or pull requests

5 participants