Replies: 2 comments
-
In my experience this just happens sometimes. I just retry the search and it works most of the time. For me it has never taken 13 min for this to happen but I would just set a timeout to prevent that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Not sure exactly what's happening here, though we are having some 502's we're working to track down (Kubernetes!!). One thing that might help is using v4 of the API, though I suspect this is at a higher level than that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
As part of an exploratory project, I need to use court listener API to search for title VII cases with their citations: Below parameters where leveraged but I get a 502 after 13 mins and I do get a major part of the response as well. How should I solve the issue?
`# API endpoint
url = 'https://www.courtlistener.com/api/rest/v3/search/'
Query parameters
params = {
'q': 'Title VII of the Civil Rights Act of 1964',
'type': 'o', # 'o' stands for opinions
'precedential_status': 'P',
'order_by': 'citeCount desc',
'page_size': 100 # Adjust the page size as needed
}`
The error:
<title>Yikes, something went wrong � CourtListener.com</title>Failed to retrieve opinions: 502
Hmmm, something didn't work, sorry :/
This usually happens when we are doing maintenance or our server is overloaded.
Usually things are fixed within a few minutes.
Check Bluesky for Updates Refresh PageBeta Was this translation helpful? Give feedback.
All reactions