function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Katrina NaeveKatrina Naeve 

Error when creating a recurring donation

I am getting the following error when I am trying to create a new recurring donation:
npsp.TDTM_RecurringDonation: execution of AfterInsert caused by: System.DmlException: Insert failed. First exception on row 0; first error: INVALID_CROSS_REFERENCE_KEY, Record Type ID: this ID value isn't valid for the user: 01241000000jhWTAAY: [RecordTypeId] (System Code)

How do I resolve this? 
Shubham Jain 338Shubham Jain 338
Hi,

You need to make sure the profile you're using has access to the desired record type.

Please mark this as the best answer if it helps

Thanks
Shubham Jain