Spent a good part of the day trying to figure this out. For anyone stumbling upon this problem. My problem was that I have installed a plugin from the marketplace.
The issue was that the plugin had a different version than strapi itself ie:
strapi: 4.3.4
documentation plugin: 4.3.6
Hope it helps someone