TOMToolkit / tom_base

The base Django project for a Target and Observation Manager
https://tom-toolkit.readthedocs.io
GNU General Public License v3.0
26 stars 46 forks source link

Entity too large errors on data upload #1042

Open rachel3834 opened 2 months ago

rachel3834 commented 2 months ago

I am trying to upload a CSV file of tabular data for the colour-magnitude data for all stars around my Target star.
An example of the file format is attached.
cmd_data_gi.csv

I tried to upload this using the 'tabular' data option through the 'Manage Data' tab of my TOM, but this produced an error: 413 Request Entity Too Large from the nginx server.

It would be great for the TOM to capture and handle this error more gracefully, redirecting the user to information on how this issue can be resolved.