REST API accessed using mailmanclient produces "500 Internal server error"
I am using the debian-packaged code of the mailman suite (apt-get install mailman3 mailman3-web python3-mailmanclient).
The versions are: (e.g. "mailman info")
mailman3: 3.2.1
python3-mailmanclient: 3.2.2
python3: 3.7.3
Accessing the mailman3 core REST API using the mailmanclient, e.g. by the latter's example code,
from mailmanclient import Client
client = Client('http://127.0.0.1:8001/3.1', 'restadmin', '___your_REST_API_key_here___')
print(repr(client.system))
yields a 500 Internal server error.
What is the reason for this? Is there a debug facility for the mailman3 core which could display what is going on inthe core's REST component? (mailman3.log below /var/log/ does not show more than
Jun 26 13:20:26 2023 (928) 127.0.0.1 - - "GET /3.1/system/versions HTTP/1.1" 500 38
(The above mailman3 versions may seem outdated, but it is still worth to know the cause of the above, since the Debian packages are around for a while.)
Edited by Mark Sapiro