Why does CrowdSec in Traefik return a 403 Forbidden error when using a MySQL database?

When using SQLite, everything works fine with no issues. However, when I switch to MySQL, I get a 403 Forbidden error.

Here are the logs I’m getting:

Crowdsec Log

Traefik Log

Note:

The 403 Forbidden error does not occur when using SQLite.

Has anyone encountered this issue before or have any suggestions on how to resolve it?

Most likely when switching databases all information is lost and the api key you generated for the traefik remediation no longer exists, so you need to switch and then regenerate the key?

I started from scratch instead of migrating data from SQLite to MySQL, so I reconfigured from scratch with MySQL