Request Data too big

25 views
Skip to first unread message

Schroedingers_cat

unread,
Mar 27, 2025, 12:34:08 PMMar 27
to QATrack+
Hello everybody,

we are trying to transfer a test-pack from a test-server to the productive server.
When uploading/importing the test pack we get the Error "RequestDataTooBig" below.

Does anyone have an idea how to solve this issue?


RequestDataTooBig at /qc/admin/import_testpack/Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZE.
Request Method:

POST

Request URL:

our-server-address/ /qc/admin/import_testpack/
Django Version:

2.2.18

Exception Type:

RequestDataTooBig

Exception Value:

Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZE.

Exception Location:

D:\deploy\venvs\qatrack31\lib\site-packages\django\http\request.py in body, line 286

Python Executable:

D:\deploy\venvs\qatrack31\Scripts\pythonservice.exe

Python Version:

3.9.10

Python Path:

['D:\\deploy\\qatrackplus', 'D:\\deploy\\venvs\\qatrack31\\Scripts', 'C:\\Program Files\\Python39\\python39.zip', 'C:\\Program Files\\Python39\\DLLs', 'C:\\Program Files\\Python39\\lib', 'C:\\Program Files\\Python39', 'D:\\deploy\\venvs\\qatrack31', 'D:\\deploy\\venvs\\qatrack31\\lib\\site-packages', 'D:\\deploy\\venvs\\qatrack31\\lib\\site-packages\\win32', 'D:\\deploy\\venvs\\qatrack31\\lib\\site-packages\\win32\\lib', 'D:\\deploy\\venvs\\qatrack31\\lib\\site-packages\\Pythonwin', 'D:/deploy/venvs/qatrack31/', 'D:/deploy/venvs/qatrack31/Scripts', 'D:/deploy/qatrackplus/']

Alex Bredikin

unread,
Mar 27, 2025, 12:40:50 PMMar 27
to Schroedingers_cat, QATrack+
There is a variable in settings.py called DATA_UPLOAD_MAX_MEMORY_SIZE - have you tried increasing the value of that variable?

I don't recall what the default is, but someone at my clinic set this:
DATA_UPLOAD_MAX_MEMORY_SIZE = 1048576000000

Alex

--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/qatrack/a92d526b-7c54-479b-a907-0009414363ffn%40googlegroups.com.

Schroedingers_cat

unread,
Mar 28, 2025, 9:53:59 AMMar 28
to QATrack+
Hey Alex,

thanks for your help! That worked :) 

The value wasn't present at all in the settings.py, but still adding the line was the solution.

Best!
Reply all
Reply to author
Forward
0 new messages