Skip to content

API-11280 Enforce reasonable limit on days and weekdays#81

Merged
philreindl merged 5 commits intomasterfrom
API-11280
Jan 20, 2026
Merged

API-11280 Enforce reasonable limit on days and weekdays#81
philreindl merged 5 commits intomasterfrom
API-11280

Conversation

@philreindl
Copy link
Contributor

API-11280 Enforce reasonable limit on days and weekdays

GET {{sparkapi}}/v1/listings?_filter=ListPrice+Le+550000.0+And+MlsStatus+Eq+'Closed'+And+PropertyType+Eq+'A','B'+And+"General+Property+Description"."Governing+Bodies"+Eq+'None'+And+CloseDate+Ge+days(-1000000000)&_pagination=count

Generating http 500 due to the resulting date being out of range.

Set the max to 1000 years before or after today.

@philreindl
Copy link
Contributor Author

Best I can tell, the error I'm generating the function_resolver is getting eaten here

@philreindl philreindl merged commit 4288832 into master Jan 20, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants