opportunity


I didn’t have opportunity to speak to him.
I didn’t have the opportunity to speak to him.

Opportunity is a countable noun, so it normally needs an article: ‘an opportunity’ or ‘the opportunity’.