pre-noun adjectival
a certain ...; some ...
Pre-noun adjectival (rentaishi) used to refer to an unspecified but particular person, place, or thing, often in narrative contexts.
とある町で小さな本屋を見つけた。
I found a small bookstore in a certain town.
とある理由で彼は来られなかった。
He couldn't come for a certain reason.