EOPATCH's NDVI display

I work with EOLearn , in this step I have this problem

Any help please!

Looking at your code you are already requesting a particular time stamp (closest_date_id), which will return a 3-dimensional vector, with dimensions: w x h x bands. Please try


Please note that I do not know what you are trying to achieve and if the flatten will return the data ordered as you expect it to be.