The 27-year-old was unable to record a height, failing with his three attempts at 5.40m - which was some way short of his British record for the event that stands at 5.82m
Lewis’s disappointment was compounded for UK Athletics fans by the news that Ashley Bryant was denied the opportunity to compete in the decathlon by a hamstring injury.
Bryant, who finished fourth at the European Under-23 Championships in Finland in mid-July, said: "Unfortunately I got a grade one hamstring tear last week. I knew I'd be up against it to recover but I thought I had a good chance because it was in good shape in the last few days, so I was hopeful.
"In warm-up today when I had to push it that bit more it wasn't ready for the competition. I'm gutted, but that's sport I guess."
There was better news for UK Athletics on the track with Andrew Osagie and Michael Rimmer progressing in the 800m heats.
Osagie, a finalist at London 2012, eased through with a time of 1:46.16 and Rimmer equalled his placing of third but bettered his time with 1:45.47 to progress.