Error trying to restore from Veeam backup made to a repository on TrueNAS

I have a repository configured on TrueNAS to use to save backups made from Veeam Backup. Backups are done smoothly and in no time. But I need to try doing a restore and I wanted to restore the entire virtual machine. All my servers are Windows Server 2019 and are virtualized on machines that run VMware ESXi 6.0. I tried to restore the entire virtual machine from the backup and I get this error in Veeam:
5/15/2024 9:58:48 AM Error Restoring Hard disk 1 (830.9 GB) : 1024 KB restored at 1 MB/s [nbd]
5/15/2024 9:59:00 AM Error Restoring Hard disk 2 (1.3 TB) : 2 GB restored at 11 MB/s [nbd]
5/15/2024 9:59:20 AM Error Restore job failed Error: Failed to open VDDK disk [[datastore5] W2019_Spiegel_DC1/F-Drive.vmdk] ( is read-only mode - [false] )
5/15/2024 9:59:20 AM Error Restore job failed Error: Logon attempt with parameters [VC/ESX: [192.168.1.8];Port: 902;Login: [root];VMX Spec: [moref=15];Snapshot mor: [15-snapshot-1];Transports: [nbd];Read Only: [false]] failed because of the following errors:
5/15/2024 9:59:20 AM Error Restore job failed Error: Failed to download disk ‘VDDK:vddk://[datastore5] W2019_Spiegel_DC1/F-Drive.vmdk’.
5/15/2024 9:59:20 AM Error Restore job failed Error: Agent failed to process method {DataTransfer.SyncDisk}.

Can someone help with this error?
Thank you