1

FIELD_CUSTOM_VALIDATION_EXCEPTION, Error:Insufficient Privileges: The Connect API is not enabled for this user type.1246

Leads are pushed from external system and duplicate rule fires.

Trigger runs in automated process context to check duplicate. After that chatter post is made. Seems like automated process does not have chatter post access.

0

The problem seems with the user license type, it does not support chatter feature. Can you please try it with system admin user?

3
  • Yes this was my prime concern but I cross that too. Users license type is salesforce and Chatter is enabled. – SFDC shaikh Feb 14 '19 at 6:27
  • Trigger runs in automated process context to check duplicate. After that chatter post is made. Can you please explain this part ? – SFDC Prime Squad Feb 14 '19 at 6:38
  • When Duplicate record is found. I link it to the existing lead. Thats happening in automated process context. as soon as it is linked I do a chatter post on lead. – SFDC shaikh Feb 14 '19 at 8:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.