I have a flow that adds contacts as campaign members to selected campaigns, which has been working fine for months.
We started getting an unhandled exception the other day. The debug gives me the following error:
59 (59895668)|FLOW_ELEMENT_ERROR|INSERT --- INSERT FAILED --- ERRORS : (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY) entity type cannot be inserted: Campaign Member, |FlowRecordCreate|Create_CampaignMember
14:32:19.093 (93092943)|FLOW_ELEMENT_ERROR|INSERT --- INSERT FAILED --- ERRORS : (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY) entity type cannot be inserted: Campaign Member, |FlowScreen|Campaign_Member_Info
Now, as a system administrator I can walk thru the flow and it works fine. However, if I login as a user and walk thru the exact same steps, I get the unhandled exception, which shows as the above error message in the debug log.
This was working fine just the other day for the same users? I checked their user account and they have the marketing user checkbox checked. Campaign object has read access and contact and leads have read, create and edit.
I haven't any luck narrowing down the issue or getting a more descriptive error.
Any ideas what I might be missing?