Error: list index out of range - when trying to upload condition file

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Mac OS Big Sur
PsychoPy version v2022.1.4
**Standard Standalone? yes
**What are you trying to achieve?: Insert excel condition file (containing pictures and locations) to the experiment loop for an ANT

What did you try to make it work?:
I’m pretty new to psychopy so I looked at an online tutorial on how to create condition files for psychopy. As I am creating an Attention Network Task I created a condition file with cue type (e.g., cue at top, bottom, central, etc.), as well as Flanker types (congruent, incongruent, neutral). The latter thereby consist of images whereas the cue type is just the respective y coordinate for the cue to appear. I have created a folder with the cue images in the same file the experiment and the condition file are saved. To link the pictures in the excel file I did the following: foldername/imagename.png (e.g., images/congruent.png).

What specifically went wrong when you tried that?:
The following error message came up:

Traceback (most recent call last):
File „/Applications/“, line 1482, in onBrowseTrialsFile
File „/Applications/“, line 411, in importConditions
IndexError: list index out of range

Thank you.