TA_ExtendTrial functionSolved

I am getting TA_E_ALREADY_VERIFIED_TRIAL error when calling TA_ExtendTrial function. I of course use the TA_VERIFIED_TRIAL flag and the trial extension is also created for verified trials. I am using the latest library 4.4.4.0 on macOS BigSur. What am I doing wrong?

Sorry it's my fault