Error 1: [Code 1] NOT_INCLUDED in valid (?) filenames across dataset

Dear all, I am validating a dataset and keep running into Code 1.
Here below a list of my filenames for 1 of 100 subjects (as an example): before you read on, please know that I replaced _defaced with -defaced, _bold with -bold etc, because I was getting a SESSION error (incorrect hyphen or dash) and this fixed that one error. But I’m still getting this code 1 and I am out of solutions. Any help would be appreciated.
Here below my files as I was saying

nebula101/sub-pp001/ses-01/anat:
sub-pp001_ses-01_T1w-defaced.json  sub-pp001_ses-01_T1w-defaced.nii.gz

nebula101/sub-pp001/ses-01/dwi:
sub-pp001_ses-01_dwi.bval  sub-pp001_ses-01_dwi.json
sub-pp001_ses-01_dwi.bvec  sub-pp001_ses-01_dwi.nii.gz

nebula101/sub-pp001/ses-01/fmap:
sub-pp001_ses-01_fid-alpha-magnitude1.json
sub-pp001_ses-01_fid-alpha-magnitude1.nii.gz
sub-pp001_ses-01_fid-alpha-magnitude2.json
sub-pp001_ses-01_fid-alpha-magnitude2.nii.gz
sub-pp001_ses-01_fid-alpha_phasediff.json
sub-pp001_ses-01_fid-alpha_phasediff.nii.gz
sub-pp001_ses-01_fid-beta-magnitude1.json
sub-pp001_ses-01_fid-beta-magnitude1.nii.gz
sub-pp001_ses-01_fid-beta-magnitude2.json
sub-pp001_ses-01_fid-beta-magnitude2.nii.gz
sub-pp001_ses-01_fid-beta_phasediff.json
sub-pp001_ses-01_fid-beta_phasediff.nii.gz

nebula101/sub-pp001/ses-01/func:
sub-pp001_ses-01_task-aliceloc_run-001-bold.json
sub-pp001_ses-01_task-aliceloc_run-001-bold.nii.gz
sub-pp001_ses-01_task-aliceloc_run-001-events.json
sub-pp001_ses-01_task-aliceloc_run-001-events.tsv
sub-pp001_ses-01_task-aliceloc_run-002-bold.json
sub-pp001_ses-01_task-aliceloc_run-002-bold.nii.gz
sub-pp001_ses-01_task-aliceloc_run-002-events.json
sub-pp001_ses-01_task-aliceloc_run-002-events.tsv
sub-pp001_ses-01_task-aliceloc_run-003-bold.json
sub-pp001_ses-01_task-aliceloc_run-003-bold.nii.gz
sub-pp001_ses-01_task-aliceloc_run-003-events.json
sub-pp001_ses-01_task-aliceloc_run-003-events.tsv
sub-pp001_ses-01_task-rest_run-001-bold.json
sub-pp001_ses-01_task-rest_run-001-bold.nii.gz
sub-pp001_ses-01_task-rest_run-001-events.tsv

Hi @aleramp88, and welcome to neurostars!

_defaced is not a valid suffix. You can do sub-pp001_ses-01_rec-defaced_T1w.json/nii.gz instead.

fid-<> is not BIDS valid. I don’t know what you’re referring to here so I cannot recommend a good fix, but maybe leave it out if it’s not important. Also make sure there’s a _ before the suffixes.

Likewise, _ before suffixes.

Best,
Steven

Hi Steven thanks for your help, that solved it! I have resolved other issues that were raised and I am left with one (quite puzzling) about stimuli files not being included (while in fact they’re there). I’ll open another thread if I can’t solve it on my own to not mess this one up.