Export json file - error 500

I have a 500 error when I try to export json file with GET HTTP method.

Thank you for your help

Could this message help you ?
Erreur 500: Service with name “pdo” could not be created. Reason: An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused

Hello @Belette64
We will investigate this error

Hello @Belette64

  1. Check the database configuration in data/config.php: database.driver, database.host, and database.port.
  2. Check project logs in the data/logs.
  3. Check whether the database is running:
  • Without Docker: sudo systemctl status mariadb mysql --no-pager
  • Docker: docker compose ps -a
  1. Test connectivity from the application environment:
nc -vz -w 3 DB_HOST DB_PORT
  1. Check the database logs:
  • Without Docker: sudo journalctl -u mariadb -u mysql -n 50 --no-pager
  • Docker: docker compose logs --tail=50 DB_SERVICE

Thank you Alex, that works fine