Internal server error `requests.exceptions.HTTPError: 414 Client Error: Request-URI Too Long for url` when trying to cluster large quantity of samples from basket #80
Client crashes with requests.exceptions.HTTPError: 414 Client Error: Request-URI Too Long for url when sending a large number of samples to clustering. Error occurs in get_samples_by_id at L145 in cluster/views.py
To Reproduce
Steps to reproduce the behavior:
Set up bonsai instance and saturate with samples
Add ~760 samples to basket
Open basket and select cluster
Expected behavior
Cluster view should be displayed if possible, or cluster button should be disabled.
In any case the client should handle the error better.
Desktop (please complete the following information):
Describe the bug
Client crashes with
requests.exceptions.HTTPError: 414 Client Error: Request-URI Too Long for url
when sending a large number of samples to clustering. Error occurs inget_samples_by_id
at L145 incluster/views.py
To Reproduce Steps to reproduce the behavior:
Expected behavior
Cluster view should be displayed if possible, or cluster button should be disabled.
In any case the client should handle the error better.
Desktop (please complete the following information):