Errors with Deck app corrupted database entry

I found a solution that worked for me on truenas scale :

On the app Notes there are those infos :

I installed the nextcloud app pgadmin, connected to a new server with those credentials and searched the keyword deck_cards. I found the table, right click → view-edit data and edited the wrong value. Once done, I clicked on the little save button at the top of the data edit window and the issue is now gone. Thanks a lot for all your responses !