Bug #8117
openNot able to invoke the feature API and apply the policy on the device
0%
Description
From Gitlab
            ------------------------
            gitlabId   --> 118  https://gitlab.com/entgra/product-iots/-/issues/118
            labels     --> Device type: Mac-os, Type: Bug,  
            assignees  --> Vinojini_P,  
            created_at --> 2019-07-25 12:42:10 IST +0530
            updated_at --> 2020-03-25 12:07:33 IST +0530
            ------------------------
Description:
When trying to test the api end point with feature API and apply the policy, error is displayed in the console stating "The payloadUUID is used more than once in the profile".Affected product version:
entgra-iot-3.6.0
OS:
mac-os
Steps to reproduce:
1.Enroll a mac-os device.
2.Invoke the feature API of the particular policy.
This is the error shown on the console when invoking the feature API.
default    17:53:23.959748 +0530    mdmclient    CPProfileManager.installProfile pluginController returned NO for validation
error    17:53:23.960294 +0530    mdmclient    [ERROR] ### Errors while processing: InstallProfile ###
error    17:53:23.960335 +0530    mdmclient    [ERROR] <ConfigProfilePluginDomain:-107> Invalid profile: The PayloadUUID “7695” is used more than once in the profile.
error    17:53:23.960366 +0530    mdmclient    [ERROR] ###################################
default    17:53:23.963542 +0530    securityd    CSSM Exception: -2147415780 CSSMERR_CSP_INVALID_KEYATTR_MASK