First issue:
borg list ./backup-dir.tld
Next, try a dry run:
borg prune --dry-run --list --show-rc --keep-daily 31 --keep-weekly 6 --keep-monthly 12 ./backup-dir.tld
Finally prune old backups:
borg prune --list --show-rc --keep-daily 31 --keep-weekly 6 --keep-monthly 12 ./backup-dir.tld