Ajax Error - Apache

Hello everyone,

The app I implemented on Django-Python framework is working pretty well at localhost. However, when I uploaded it to apache server, I get this error:

**DataTables warning: table id=records - Ajax error. For more information about this error, please see 7. Warning: Ajax error
**

Do you have any idea how to fix it? Thanks in advance.

error.log

[Mon Sep 18 15:15:25.471672 2023] [mpm_prefork:notice] [pid 2384263] AH00169: caught SIGTERM, shutting down
Exception ignored in: <function Local.__del__ at 0x7f581fdacca0>
Traceback (most recent call last):
  File "/home/usuario/Datatables/venv/lib/python3.8/site-packages/asgiref/local.py", line 94, in __del__
NameError: name 'TypeError' is not defined
Exception ignored in: <function Local.__del__ at 0x7f581fdacca0>
Traceback (most recent call last):
  File "/home/usuario/Datatables/venv/lib/python3.8/site-packages/asgiref/local.py", line 94, in __del__
NameError: name 'TypeError' is not defined
[Mon Sep 18 15:15:25.595115 2023] [mpm_prefork:notice] [pid 2384428] AH00163: Apache/2.4.41 (Ubuntu) mod_wsgi/4.6.8 Python/3.8 configured -- resuming normal operations
[Mon Sep 18 15:15:25.595167 2023] [core:notice] [pid 2384428] AH00094: Command line: '/usr/sbin/apache2'

I think to start diagnosing this, we’re going to need to see your apache configuration section for your project.