I made a mistake – I forgot and somehow missed Ekadasi fast. I am feeling terrible because I had rice. What must I do for Krishna to forgive me?

There is nothing to forgive because mistakes done unknowingly are not considered as mistakes. However, in future observe the Vratha with proper shraddha.