How to retrive the image url TypeError: Cannot read properties of undefined (reading 'formats')

Hi, did you tackle this problem am facing the same??