Profile Registration Unhandled Error

Hi guys, I am currently working to connect my Fenix 6 with a BLE product.

When I set the scan state to scanning, I'm getting the following error:

"Error: System Error
Details: Profile Registration Unhandled Error
Stack: "

I'm using the Thingy52 sample, my profile manager looks like this:

import Toybox.BluetoothLowEnergy;

class ProfileManager {
    public const STEP_SERVICE                               = BluetoothLowEnergy.stringToUuid("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"); // Service UUID
    public const RAW_ACC_DATA_CHARACTERISTIC                = BluetoothLowEnergy.stringToUuid("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"); // Notify
    public const PROCESSED_ACC_DATA_CHARACTERISTIC          = BluetoothLowEnergy.stringToUuid("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"); // Notify
    public const START_STOP_STEP_DETECTION_CHARACTERISTIC   = BluetoothLowEnergy.stringToUuid("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"); // Can only write 0x00 or 0x01 (boolean enabled/disabled)
    public const STEPS_CHARACTERISTIC                       = BluetoothLowEnergy.stringToUuid("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"); // Only read, total steps detected

    public const DEVICE_UUID                                = BluetoothLowEnergy.stringToUuid("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"); // GFPS UUID

    private const _envProfileDef = {
        :uuid => STEP_SERVICE,
        :characteristics => [{
            :uuid => RAW_ACC_DATA_CHARACTERISTIC,
            :descriptors => [BluetoothLowEnergy.cccdUuid()]
        }, {
            :uuid => PROCESSED_ACC_DATA_CHARACTERISTIC,
            :descriptors => [BluetoothLowEnergy.cccdUuid()]
        }, {
            :uuid => START_STOP_STEP_DETECTION_CHARACTERISTIC
        }, {
            :uuid => STEPS_CHARACTERISTIC
        }]
    };

    //! Register the bluetooth profile
    public function registerProfiles() as Void {
        BluetoothLowEnergy.registerProfile(_envProfileDef);
    }
}