Closed sentry-io[bot] closed 2 months ago
I think the fix is easiest in courtlistener by doing this: summary=item.get("summary", "") or ""
We could also take the keys that come from juriscraper, since "summaries" going to syllabus and "summary" going to "summary" is confusing
So, the ri
server sends a JSON response, where null values are turned into None, and we are sending those to Courtlistener, and that why it fails. This is part of our lack of output validation; but we can also catch this on the courtlistener side with the or trick I put on the previous comment
A PR to address RI has been merged
IntegrityError: null value in column "syllabus" of relation "search_opinioncluster" violates not-null constraint
Sentry Issue: COURTLISTENER-7T4