I sought assistance from the Thunkable Assistant (ChatGPT-4), and they provided me with this code.
While it no longer results in a ‘blue’ screen, It shows now the error alert.