According to information from this forum, I used the “uniqueFields” function instead of “is_unique”, but I found out that it only throws an error in English.
When I was investigating why, I found out that in the file
vendor\grocery-crud\enterprise\src\GroceryCrud\Core\Validate.php
there is an error message in the “pre_render()” function and the language file is not used.