I am getting below error while using the API calls to get the safe details

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

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

I am getting below error while using the API calls to get the safe details

L1 Bithead

Hi All,

 

I am trying to get the safe details using the API calls.

 

While using the gen 1 API getting below error:-

 

https://<BASEURL>/PasswordVault/WebServices/PIMServices.svc/Safes 

 

Error Note : The remote server returned an error: (500) Internal Server Error.

 

While using the gen 2 API getting below error:-

 

https://<BaseURL>/PasswordVault/api/Safes

 

Error Note : {"ErrorCode":"CAWS00001E","ErrorMessage":"Error mapping types.\r\n\r\nMapping 

types:\r\nIReadOnlyCollection`1 -> List`1\r\nSystem.Collections.Generic.IReadOnlyCollection`1[[nl, 

CyberArk.PasswordVault.Management.API, Version=8.0.0.0, Culture=neutral, PublicKeyToken=40be1dbc8718670f]] -> 

System.Collections.Generic.List`1[[CyberArk.PasswordVault.PASWebServices.Models.Safes.SafeListItem, 

CyberArk.PasswordVault.PASWebServices, Version=8.0.0.0, Culture=neutral, PublicKeyToken=40be1dbc8718670f]]"}

 

Could you please help us to resolve this issue..

 

5 REPLIES 5

L7 Applicator

Have you checked this? Was a common error on old installs that were upgraded to 12.6+

 

https://community.cyberark.com/s/article/PVWA-Error-Mapping-Types-Safes-View

L3 Networker

What is CyberArk PAM Vault/PVWA Version?

L3 Networker

What is CyberArk PAM Vault/PVWA Version?

L7 Applicator

Hi @Premnath R​ 

 

Please check the following link to Get Safe members details

 

https://docs.cyberark.com/pam-self-hosted/Latest/en/Content/SDK/Safe%20Members%20WS%20-%20List%20Safe%20Member.htm?tocpath=Developer%7CREST%20APIs%7CSafes%7CSafe%20members%7C_____4

 

Hope it helps !

L5 Sessionator

Try pointing to specific/single pvwa instead of using LB url, and hope you won't get webservice errors.

  • 614 Views
  • 5 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!