ついでではありませんでした
tsuidedewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 序で

1. Was not in order.; Was not arranged.; Was not scheduled.

Past/Perfective
Negative
Polite
Formal Register