Skip to content

Unable to create safes in the latest version #603

Description

@soulhax

Describe the issue
When trying to bulk create safes with the latest version of psPAS it returns a Input parameter error for a value that doesn't exist or is being used.

To Reproduce
Steps to reproduce the behavior:

  1. Install the latest version of psPAS
  2. Create a simple script to bulk create some safes
  3. Run the script and after entering credentials you will get the error

Expected behavior
It should just create safes as it always did.

Screenshots & Console Output

Invoke-PASRestMethod : [400] There are some invalid parameters

ErrorCode=PASWS168E; ErrorMessage=Input parameter for [addSafeRequest] value is invalid.; ParameterName=addSafeRequest

At line:133 char:13

+ ...     $result = Invoke-PASRestMethod -Uri $URI -Method POST -Body $Body

+                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: ({"Details":[{"E...id parameters"}:ErrorRecord) [Invoke-PASRestMethod], Exception

    + FullyQualifiedErrorId : PASWS167E,Invoke-PASRestMethod

Your Environment

  • PowerShell Version: 5.1
  • psPAS Version: 7.0.242
  • CyberArk Version: 14.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions