Developing UI Test Automation project to find errors in an application is not a stand-alone solution. Based on the test pyramid, you may monitor your test process from the service layer to the UI level.
You can test service integrations, e2e scenarios are on the service layer and contracts. With contract-based testing, you test contract deals between the consumer and the API provider.
Testing service is easier, more reliable and cheap. However, you cannot rely on service tests to obtain error-free applications. Your applications may behave differently to the end-user even if all service testing has passed. So you shouldn't neglect UI automated tests. There are different approaches and tools when developing automated service tests like Postman, SoapUI or a language-specific BDD approach with frameworks like Karate, Serenity etc.
By integrating service tests into CI / CD processes, you can ensure that errors are addressed early and prevent them from being made by the end-user.