Connecting Seeed studio xiao esp32c3 with MIT App Inventor via Bluetooth

Show the current blocks with which this error occurred.

In order to verify the correctness of the ESP code, you should ask the experts in the arduino or esp32 forums. Maybe the problem is in the ESP.