Error 506 and Error 507 when connecting Arduino Nano 33 iOT via Bluetooth

Howdy Friends,

I am working on creating a robot and using the app developer to control the robot via an arduino nano 33 iot. Below are several examples of bluetooth connections that we have used to attempt to connect the app to the processor. We've tried using the UUID for the phone and the board in the code, but when we do, it says that the UUID is not formatted correctly. We can get the app to appear on the phone, and we can get the processor connected on the system bluetooth just not on the processor connected to the app.

Try this one:

Thank you for the help! I downloaded it, and it works. However, when clicking the processor to connect via bluetooth, the button only turns gray. How do you know that it is connect properly?