Not able to select any product in Resource Picker

I’ve replicated this issue on many apps, where I’m not able to select any product when multiple product selection is false when selectedProductIds are passed in resourcePicker options.

First, it shows the selected product when selectedProductIds are passed, but when that selected product is unchecked, all other products get disabled.

     await shopify.resourcePicker({
        type: 'product',
        selectionIds: [
          {
            id: upsellData.product.id,
            variants: upsellData.product.variants.map(variant => ({
              id: variant.id,
            })),
          },
        ],
        action: 'select',
      })

Here’s the code for my resource picker

Products are configured correctly because it’s a dev store and all the permissions seem to be correct. Exactly what permission do I need to check?

Add “multiple: true” to enable multiple selections.