Is there a way to modify the AIM Rest API error reflection? By default, the errors reflect back to the user that objects don't exist, etc. I'd like to limit what information is returned to the user, but I am not seeing where I might configure this.

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

Is there a way to modify the AIM Rest API error reflection? By default, the errors reflect back to the user that objects don't exist, etc. I'd like to limit what information is returned to the user, but I am not seeing where I might configure this.

L0 Member
2 REPLIES 2

L5 Sessionator

@Nathan Timblin​ I generally handle error codes and success messaged in my client code. I'm not sure how you are initiating API Request. If you look at the Messages and Response guide, you can see set of of return codes for AIM. In your client code (Powershell or Java) you can validate the return code and you convert into custom messages according to your wish.

 

 

https://cyberarkdocu.azurewebsites.net/Product-Doc/OnlineHelp/PAS/Latest/en/PDF/CyberArk%20Messages%...

Sorry for the late response. I'll take a look at the document and see if it answers my question. However, to be more clear about my question, I am speaking specifically about the errors produced by the credential provider on a bad lookup. Much like we configure sites to not divulge whether an account exists or not, AIM clearly divulges this information back to the requesting user/script on a bad query. There are other controls in place which may be sufficient to eliminate this as a risk, but i was curious if the error response returned by the CP itself was actually customizable, not the error handling of the client side.

  • 240 Views
  • 2 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!