Can't connect smart button flic 2 with app inventor

Good morning, let's see if you can give me a hand.

I have this device. Flic 2. Flic 2 Product Page | Flic Smart Button

And I wanted to connect it with an app. Using app inventor 2.

Flic 2 has its own app to configure it according to different uses, and I have followed this tutorial so that I can send a letter through Flic 2. https://m.youtube.com/watch?v=3UdcSdLimWw and for example, I configure it to send a "b" when pressing once

I create an app, in app inventor, so that when it receives a "b" it activates an output from an esp32.

When I display the list of nearby Bluetooth devices, flic2 appears, but when I click on it, to select it and use it in the app, a 502 error is displayed, asking if the device is working.

Could you please give me a hand with communication?

Thank you