• Pieter Obdeijn
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

We have a button for fetching estimate traffic from Similarweb in SFDC - on lead level. According to our admin, I should have suffiecient right, (similar rights to others, for them it works) but somehow I still get an error:

A problem with the OneClick JavaScript for this button or link was encountered:

{Faultcode:’soaping:Client’, fault string:’System.DmlException: Update failed. First exception on row 0 with id 00Q0N00000bDidnUAC; first error: INSUFFICIENT_ACCESS_OR_READONLY, insufficient access rights on abject id: []

Class.SimilarWebApi.fetchObjectsAndUpdateTrafficEstimates: line 70, column 1
Class.SimilarWebApi.updateEstimatedMonthlyTrafficForLeads: line 37, column 1’,} 

We already enabled Apex Class Access:
SimilarWebApi 
SimilarWebApiTest 
SimilarWebRestMock 

Does anyone know what the problem could be?