Error 43 TypeError: Cannot read properties of undefined (reading 'snippet')