Cannot read properties of undefined (reading 'toUpperCase')

500