I have inserted the
IntendedFor field to my
PA b0 images of the DWI data in corresponding JSON files which points to the DWI data. The DWI image is present, but still, the bids-validator complains and gives the following error:
'IntendedFor' property of this fieldmap ('/sub-QA042121/ses-phantom/fmap/sub-QA042121_ses-phantom_acq-dwib0_dir-AP_epi.nii.gz') does not point to an existing file('ses-phantom/dwi/sub-QA042121_ses-phantom_dwi.nii.gz'). Please mind that this value should not include subject level directory ('/sub-QA042121/').
I have seen this relevant post, but it does not seem to be my case.
This is how I have inserted the IntendedFor field:
Even if I pass the path to DWI data as a string and not as a list, I still get the same error. I also have the correct permissions in my parent directory. Is there any issue with any keyword in the subject/session name maybe e.g.