A2A is returning return code 407
search cancel

A2A is returning return code 407

book

Article ID: 378309

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM)

Issue/Introduction

When PAM End-Users are executing a custom A2A script they are getting the return code of 407, which means:

Invalid parameters specified.

Environment

A2A Version 4.12.3

Resolution

In order to run their custom script, the end-user needed to set certain Linux SHELL variables, which they were doing in their script.

However, since they were executing it in their default Linux SHELL of /bin/csh (C SHELL), which didn't have the 'export' command in their $PATH, so it wasn't properly setting the required variables and was the root cause on why it was  failing.  Therefore we updated the first line to either #!/bin/sh or #!/bin/bash which had the export command their $PATH everything worked successfully.