Internal Server Error due to long query strings
appukuttan-shailesh opened this issue · 1 comments
For purposes of comparing validation results, I require to fetch the results assoicated with numerous model/test instances.
So queries such as following arise:
(I have also tested with /results/
end-point and have the same problem)
I get the following response:
500 Internal Server Error
Somewhat shorter queries seem to work (even though with delay):
GET https://validation-v2.brainsimulation.eu/results-extended/?model_instance_id=e7e17b98-86fd-4ede-af2b-831642ca47c9&model_instance_id=20b57bd8-7076-4f46-a361-84255b06401c&model_instance_id=233a109e-d26f-4f50-809e-1aa52d3fa84c&model_instance_id=3342e542-5fb1-45aa-b7be-69e94f809160
It would be useful if this problem can be fixed, and we can avoid making multiple calls as it affects performance (more overhead) and also leads to unnecessary 'hacky' coding.
It seems various parts of the web put limits on the length of URLs. Maybe the best approach is to provide a new POST-based endpoint so that long queries can be provided in the request body.