[Beginner] Why my face absence app always showing this error?

image

Your code is assuming global Result (student id from the camera scan) will have a successful lookup result that is in the downlaoded list of ids.

You need to capture the index into the list of ids, and check if it is non-zero before attempting to use it to look up other sttributes of the student in question from your spreadsheet data.

You might include a Notifier popup presenting the unexpected id and complaining that it isn’t recognized.

ive made a new filter here, but theres a new problem that occur, u got any solve? im a beginner so im not used to this stuff, i got help from chatgpt too. ty

You create global id as an empty list, add list item/s to it, then use this (a list) as an index (which should be an integer)