App bridge collection resource picker not loading/throwing error

The collection resource picker from the app bridge is no longer loading and throwing the following error in the console:

main-OaHObCMl.js:2 TypeError: Cannot read properties of undefined (reading 'map')
    at he (CollectionResourcePicker-Dk320SRxaa_i.js:1:6463)
    at fA (render-common-UtiAWaYx7ubV.js:23:20426)
    at fj (render-common-UtiAWaYx7ubV.js:25:45233)
    at uj (render-common-UtiAWaYx7ubV.js:25:40778)
    at Mre (render-common-UtiAWaYx7ubV.js:25:40705)
    at t1 (render-common-UtiAWaYx7ubV.js:25:40556)
    at OA (render-common-UtiAWaYx7ubV.js:25:36805)
    at lj (render-common-UtiAWaYx7ubV.js:25:37618)
    at _d (render-common-UtiAWaYx7ubV.js:23:3281)
    at render-common-UtiAWaYx7ubV.js:25:35105

Hmmm, this is currently working for me (and the JS chunk is the same). Are you able to replicate this consistently?

I was able to find the problem. If you pass in a “selectionIds” property of undefined, it now throws an error. Passing in an empty array fixes it.

1 Like

Thanks @marcbaumbach I will look into it next Monday