If you have already optimized the instance parameters, then you have to check the failing SQLs one by one.. Execution plans may be the problem.. SQL PLAN management may needs to be implemented.. SQL Profile and Plan setting may need to be done for them.. Optimizer_features_enable may be the problem (for the custom code).. If those SQLs are being executed from standard EBS programs then there may be some patches you need to apply..
This is a big subject.. Read my related blog post to get some insight.
https://ermanarslan.blogspot.com/2020/12/ebs-122-rdbms-optimizerfeaturesenable.htmlhttps://ermanarslan.blogspot.com/2021/01/ebs-122-19c-db-environments-suggestions.html