When I try to get "opportunitycompetitorscollection" via API i get an error "Caller <some GUID here> doesn't have sufficient privileges to access entity of type 'opportunitycompetitors'.".
When this API call was made from a user with role "System admin" everything is ok.
When this API call was made from a user with role "Copy System admin" (full copy from "system admin" role) or any another one it fails too.
All API calls were made with OAuth authorization from my server backend.
At the same time when I try to get this collection for a specific opportunity with a condition "opportunityid eq <some opportunity id>", everything is ok too.
Could anyone know the reason for this strange behavior or how to fix this?
Thanks.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156