Hi all!
I’m having some issues creating a timed alias via API. I can create it via the standard page. But not via the domain.tld/api web (swagger) interface and not via commandline (e.g python app.)
In python I’m using httpx (https://www.python-httpx.org/).
If I try to create a timed alias via api, the server returns a 200 status code, and the logs shows no errors. But if I try to create from swagger, I still get a 200 OK response, but then i refresh the web page with the timed aliases. This results in me being thrown out and it shows the following error:
MySQL error: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'description' cannot be null in /web/inc/functions.mailbox.inc.php:68Stack trace:#0 /web/inc/functions.mailbox.inc.php(68): PDOStatement->execute(Array)#1 /web/json_api.php(227): mailbox('add', 'time_limited_al...', Array)#2 {main}
Any one have any bright ideas? I’m all ears!
Atb,
Rune