How do I resolve 'INSUFFICIENT ACCESS_OR_READONLY, insufficient access rights on object id: Error is in expression' in Salesforce?
Overview
You are trying to calculate tax or validate an address but receive an error
"INSUFFICIENT_ACCESS_OR_READONLY, insufficient access rights on object id: Error is in expression '{CalcTax}'
or
"INSUFFICIENT_ACCESS_OR_READONLY, insufficient access rights on object id: Error is in expression '{ValidateAddress}'
Environment
Salesforce
Resolution
-
This is a result of the user not having sufficient permissions.
-
Ensure you have given full permission to all users for the below Avalara objects:
-
Avalara Account - AVA_SFCORE_TaxNowSetting_c
-
UserMessage - AVA_SFCORE_UserMessage_c
-
UDL - AVA_SFCORE_UDL_c
-
-
Upgrade to the latest AvaTax Connectors (SF SDK, Opportunity/SF Core, Quotes). Permissions are set during the initial install of the Avalara connector.