BIDS validator error Taskname


I am working with an online dataset PPMI from multiple sites. They acquired two Axial Resting State fMRI (BOLD) sequences: the initial sequence (Phase encoding direction R>L), and a repeat sequence (Phase encoding direction L>R). When I ran BIDSKIT 2022.8.26, I got this error message:

(node:1642) Warning: Closing directory handle on garbage collection
(Use node --trace-warnings ... to show where the warning was created)
1: [ERR] You have to define ‘TaskName’ for this file. (code: 50 - TASK_NAME_MUST_DEFINE)
… and 40 more files having this issue (Use --verbose to see them all).

I am assuming that the 2 files with distinct LR and RL phase encoding is causing this error in the func directory? Can anyone please recommend what I should do.



TaskName is a field that should be specified in the accompanying BIDS JSON sidecars.