Skip to main content

Error during LWC component connect phase: [Cannot read properties of undefined (reading 'error')] 

I am getting this error . while adding component to the lightning app page.

Please help me to resolve this issue.

답변 1개
  1. 2022년 5월 9일 오전 11:14

    If you are working with accounts make sure that in the template you have if:true={accounts.data} and that data is set to data={accounts.data}.  If you are working with the accounts just change accounts to contacts. You are probably trying to connect accounts.data while working with contacts.

0/9000