うかが ことではありませんでした
ukagai kotodewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 伺い事

1. It was not my intention.; It was not what I meant to do.; It was not my place.

Past/Perfective
Negative
Polite
Formal Register