Near By Interactions in background mode wwdc22

Anyone here who implemented apple nearby interactions I'm continously getting this error and unable to resolve this.

I'm getting accessoryData from BLE device chractristics and bluetooth identifier of connected BLE device.

let config = try NINearbyAccessoryConfiguration(accessoryData: accessoryData,                                                             bluetoothPeerIdentifier: peerIdentifier)

Error: Error Domain=com.apple.NearbyInteraction Code=-5888 "NIERROR_INVALID_CONFIGURATION_DESCRIPTION" UserInfo={NSLocalizedRecoverySuggestion=NIERROR_INVALID_CONFIGURATION_RECOVERY_SUGGESTION, NSLocalizedDescription=NIERROR_INVALID_CONFIGURATION_DESCRIPTION, NSLocalizedFailureReason=NIERROR_INVALID_CONFIGURATION_FAILURE_REASON}

Near By Interactions in background mode wwdc22
 
 
Q