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

Dynamic filter null pointer exception #75

Open
edwardcawley opened this issue Sep 14, 2021 · 0 comments
Open

Dynamic filter null pointer exception #75

edwardcawley opened this issue Sep 14, 2021 · 0 comments

Comments

@edwardcawley
Copy link

This example from the documentation

curl https://{your_domain}.agilecrm.com/dev/api/filters/filter/dynamic-filter -H "Accept: application/json"
-H "Content-Type :application/x-www-form-urlencoded"
-d 'page_size=25&filterJson={"rules":[{"LHS":"updated_time","CONDITION":"ON","RHS":1572580800000}],"or_rules":[],"contact_type":"OPPORTUNITY"}'
-v -u [email protected]:123fghfhf******* -X POST

(but with correct credentials etc.) fails,

{"exception message":"java.lang.NullPointerException","status":"500"}

I have tried this on two different agile accounts. The issue seems to be OPPORTUNITY, I can get data with the dynamic filter and PERSON in contact_type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant