TypeError: Cannot read properties of undefined (reading 'substr')

Solution - Get variable in pre-request script. I don’t know why, but runner can not see my variables without this step