Did you put exactly that code? or did you alter it to use your field names? You need to supply some more information. What is the name of your repeater field, what is the name of the sub field you’re trying to display? Is there additional nesting involved? If you’re just testing the plugin maybe you should start with a simple text field and work up from there.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users