SP List, Something went wrong. Cannot read property'indexOf' of undefined. POWER AUTOMATE

%3CLINGO-SUB%20id%3D%22lingo-sub-2710572%22%20slang%3D%22en-US%22%3ESP%20List%2C%20Something%20went%20wrong.%20Cannot%20read%20property'indexOf'%20of%20undefined.%20POWER%20AUTOMATE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2710572%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3CBR%20%2F%3E%3CBR%20%2F%3EWhen%20I%20try%20starting%20a%20flow%20by%20selecting%20a%20list%20item%20%26amp%3B%20click%20on%20AUTOMATE%20%2C%20I%20get%20this%20ERROR%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Hegelmat_0-1630570487581.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307557i436937A5BC243173%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Hegelmat_0-1630570487581.png%22%20alt%3D%22Hegelmat_0-1630570487581.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EWhat%20I%20noticed%20is%20this%20error%20comes%20up%20only%20in%20lists%20that%20have%20got%20%3CSTRONG%3ELOOKUP%20COLUMNS%3C%2FSTRONG%3E%20(checked%20this%20in%203%20separate%20lists%20with%20lookup%20columns).%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3EEverything%20works%20normally%20in%20lists%20without%20lookups%20columns.%26nbsp%3B%3CBR%20%2F%3E%3C%2FSTRONG%3E%3CBR%20%2F%3EFor%20more%20info%2C%20I%20do%20not%20have%20more%20than%20100%20items%20in%20my%20lists.%3CBR%20%2F%3EThis%20problem%20started%20like%203%20hours%20ago.%3CBR%20%2F%3EMy%20flow%20gets%20triggered%20by%20selecting%20the%20list%20item%20%26amp%3B%20running%20it.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20not%20sure%20if%20the%20problem%20is%20on%20Microsoft%20side.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%2C%3CBR%20%2F%3EHegel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2710572%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2710907%22%20slang%3D%22fr-FR%22%3ERe%3A%20SP%20List%2C%20Something%20went%20wrong.%20Cannot%20read%20property'indexOf'%20of%20undefined.%20POWER%20AUTOMATON%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2710907%22%20slang%3D%22fr-FR%22%3E%3CPRE%3E%3CSPAN%20class%3D%22Y2IQFc%22%3EHello%2C%0A%0AWe%20also%20have%20the%20same%20problem%20on%20the%20O365%20-%20Company%20EIFFAGE%20environment.%3C%2FSPAN%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Daradaal_0-1630575216996.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307587iFFBCF1491899308C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Daradaal_0-1630575216996.png%22%20alt%3D%22Daradaal_0-1630575216996.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2710941%22%20slang%3D%22en-US%22%3ERe%3A%20SP%20List%2C%20Something%20went%20wrong.%20Cannot%20read%20property'indexOf'%20of%20undefined.%20POWER%20AUTOMATE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2710941%22%20slang%3D%22en-US%22%3EDid%20you%20check%20the%20view%20itself%3F%3CBR%20%2F%3E%3CBR%20%2F%3EDid%20you%20check%20if%20the%20max%20number%20of%20lookups%20in%20a%20list%20is%20exceeded%3F%3CBR%20%2F%3EMake%20a%20new%20view%20and%20test%20it%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2710973%22%20slang%3D%22fr-FR%22%3ERe%3A%20SP%20List%2C%20Something%20went%20wrong.%20Cannot%20read%20property'indexOf'%20of%20undefined.%20POWER%20AUTOMATON%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2710973%22%20slang%3D%22fr-FR%22%3EI%20checked%20and%20the%20max%20number%20is%2030.%20I%20created%20a%20view%20but%20the%20problem%20is%20still%20present.%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi All,

When I try starting a flow by selecting a list item & click on AUTOMATE , I get this ERROR

Hegelmat_0-1630570487581.png

What I noticed is this error comes up only in lists that have got LOOKUP COLUMNS (checked this in 3 separate lists with lookup columns).

Everything works normally in lists without lookups columns. 

For more info, I do not have more than 100 items in my lists.
This problem started like 3 hours ago.
My flow gets triggered by selecting the list item & running it.

I am not sure if the problem is on Microsoft side. 

Thank you,
Hegel

10 Replies
Hello,

We also have the same problem on the O365 - Company EIFFAGE environment.

 

Daradaal_0-1630575216996.png

 

Did you check the view itself?

Did you check if the max number of lookups in a list is exceeded?
Make a new view and test it
I checked and the max number is 30. I created a view but the problem is still present.
I have checked the views and all. Items show up, no problem. The problem shows up when you select an item and click on AUTOMATE.
I have 3 lists and in one of them, I only have 5 items with one 1 look-up column.
The same error shows up.
Can you send more details?
Sharepoint version, view you are using, screen print from the view you ar using
The names of the lookup fields (where are they referring to - which lists?)
Anything that might be helpful to reproduce
Add a word doc as an attachment please.
Will try to see if i can help you

@Hegelmat I also have this exact same problem.  It was all fine last week and I've changed nothing!

Hi Andre,
I was using the modern version.
I had 3 separate lists with different types of look-up columns. I even created views to remove the lookups columns, and the number of items. The problem was still there.
Lists were different in size which made me discard the max lookup columns/views issue.

Luckily , it was fixed (by itself) on the following day.
I would still want to know the cause as it negatively affected our production environment.
Thank you.
Luckily it got fixed the following day.
Still scary as I dont know when this issue might happen again.

 We are facing similar issue now it was working till Monday but now I am getting this error message. strange thing is issue is not with all items in list but most of the items in a list having this issue.

did we got any fix for this?

@mohandar 

 

Unfortunately I never got to the bottom of it in terms of troubleshooting. Cutting down List size, lookUp columns, Views etc did not resolve the issue.
It justs fixed itself the following day.
Because our team heavily depends on that flow , I had to find a quick workaround.
I replaced the "For the selected item" TRIGGER with a manual one that asks the item ID. 
Extra step but it worked smoothly.