function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tracy KellyTracy Kelly 

Opportunity failed execution of trigger for a profile

Hello. An error message has popped up for some of my users and it's way above my head to fix. Before I turn to Premier Support our our outside support, I thought I'd try here. 
As a System Admin, I can create new Opportunities. However, those with a different profiel cannot. I've attached a jpeg of the error message. I am not a Developer, so if we have to spend some money, so be it. Any help would be appreciated.Error Message 
Naga  AlapatiNaga Alapati
Hi Tracy,

I think your code maybe calling through those methods in a sharing context. So check whether that profile has access to "OppPayment" object. 

Go to Setup > Profiles > Click on the profile that it is throwing this error > Object Settings > Look for "OppPayments" 

Check whether that profile has read permissions to that object or not. If not try to give read access and check it again.


Thanks,
Naga
Felicyta FelicytaFelicyta Felicyta
Yes, most legitimate casinos today offer generous payouts. The largest Polish online casinos are becoming more and more known. The Vistula Valley is famous for hard work, but in moments of downtime, you need to relax to be ready for the challenging days ahead. Read the article at https://polskikasynaonline.com/ if you are a new player in a Polish online casino or if you are interested in gambling and want to choose a provider where you can play the best games published by proven producers. Even if reading a book may seem like a good idea, playing at an online casino can be more fun and also gives you the opportunity to earn more money.