to thank (someone) for
The preposition is part of the word. Without it the answer is wrong in ripiti: sich bedanken für, not sich bedanken.
Remember sich bedanken für for good. ripiti brings the word back just before you forget it, with these sentences. Free, no account needed, works offline.
practise sich bedanken für in ripiti