OTK Uninstall Failed

Document ID : KB000098303
Last Modified Date : 04/06/2018
Show Technical Document Details
Issue:
We are trying to uninstall version 4.0 of the OTK and an error message is displayed. Please see below:

NOTE: The specific services affected can are different than what is listed below but the error message structure remains the same as these three examples.
 
<l7:Property key="ErrorMessage">
                        <l7:StringValue>Incorrect mapping instructions: Could not delete policy, it is being used by: EntityHeader. Name=Policy for service #e001cfd0c1c1ffaa18e187b5e72fea90, oauth/manager/clients, id=3a51528213328ed323cee16794e738f5, description=null, type = POLICY. Mapping for: EntityHeader. Name=oauth manager dates clients, id=e001cfd0c1c1ffaa18e187b5e72fe968, description=null, type = POLICY</l7:StringValue

<l7:Property key="ErrorMessage">
                        <l7:StringValue>Incorrect mapping instructions: Could not delete policy, it is being used by: EntityHeader. Name=Policy for service #e001cfd0c1c1ffaa18e187b5e72fea0c, oauth/manager/tokens, id=3a51528213328ed323cee16794e7387f, description=null, type = POLICY. Mapping for: EntityHeader. Name=oauth manager dates tokens, id=e001cfd0c1c1ffaa18e187b5e72fe97c, description=null, type = POLICY</l7:StringValue>
                    </l7:Property>

<l7:Property key="ErrorMessage">
                        <l7:StringValue>Incorrect mapping instructions: Could not delete entity. Mappings are likely out of order. Mapping for: EntityHeader. Name=pof, id=e001cfd0c1c1ffaa18e187b5e72fc898, description=/OTK/Policy Fragments/pof, type = FOLDER</l7:StringValue>
                    </l7:Property>
Resolution:
Deleting the service oauth/manager/client resolved the conflict.