EPM API issues when trying to update an application group with new entries

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EPM API issues when trying to update an application group with new entries

L0 Member

Hi all,

​

We are working with the API for the first time on a SaaS EPM tenant and hitting issues with the PUT process when sending back an updated application group (basically need to bulk add some script/filename/hash entries to an application group).

 

The error received is "ErrorCode": "EPM000002E", "ErrorMessage": "Missing mandatory parameter - PolicyType." although we clearly have the PolicyType correctly specified.

​

Even if we grab the body of the GET request and make a minor change to a file name or hash and push back in the exact same format we receive the same error.

​

Anyone have any experience with this or code they can share?

​

​

​

1 accepted solution

Accepted Solutions

L0 Member

Ok - problem solved! Found the correct format for the PUT in the link I missed for the custom application group code. (Here Custom application groups | CyberArk Docs)

 

Progress.

View solution in original post

3 REPLIES 3

L0 Member

Ok - problem solved! Found the correct format for the PUT in the link I missed for the custom application group code. (Here Custom application groups | CyberArk Docs)

 

Progress.

Hi @Steve C​ 

 

Thank you for the update and for sharing the solution.

Happy to hear it is now resolved!

 

Regards,

Niv

@Steve C​ could you elaborate on how you fixed it, more precisely? I've been trying to follow the structure in the referenced documents and i'm still getting that error, both for Create policies API and Update Policies API

 

With fictitious info, could you show a JSON object that works as a valid body for the API to receive?

 

Thank you.

  • 1 accepted solution
  • 491 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!