how to fix invalid record ID error? I'm trying to create engagement metrics in lighting record page, Connected campaigns is configured already. Below is the error:
Error creating info component: Failed to initialize a component [An invalid record ID was supplied: 'undefined']
Does anyone know how to fix this?
Thanks in advance.
@SUNNY PATWA This isn't really helpful at all. We get the same error simply when dragging the OOTB Pardot (MCAE) "Engagement Metrics" component onto a Campaign Lightning Record Page. There is nothing to "check" here, nowhere to enter ID's or anything configure, etc. You're already on the Campaign record page in Lightning App Builder, so it should be inheriting/pulling the recordId from that page (which is a valid and active Campaign). Note also that the component itself seems to render fine -- it's just an error thrown in Lightning App Builder when dragging the component onto the page or refreshing the page.
I also tried manually removing every single Metric Type element in the component and resaving, and it still throws a single error (instead of one for each Metric Type):
Error creating info component: Failed to initialize a component [An invalid record ID was supplied: 'undefined']
D.error()@
eval()@
As I am not a developer, this is mostly gibberish to me... I'm a Salesforce Admin with MCAE admin access ('Marketing User' is checked on my Profile and I'm in the Account Engagement User profile and can access and admin Pardot without issues).
Instead of providing canned troubleshooting responses, can someone provide the actual root cause of this seeminly out-of-the-box Marketing Cloud Account Engagement (MCAE) component error in Lightning?
@Deekshita M - Did you or anyone else here ever find the real root cause?
#AccountEngagement #Pardot B2b Marketing Automation #Pardot Lightning App #MCAE