Debug and Resolve A2A error 409 and PAM-CM-0575 Unauthorized Script Name - Privileged Access Manager
search cancel

Debug and Resolve A2A error 409 and PAM-CM-0575 Unauthorized Script Name - Privileged Access Manager

book

Article ID: 219299

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM) CA Privileged Access Manager - Server Control (PAMSC) CA Privileged Identity Management Endpoint (PIM) CA Threat Analytics for PAM

Issue/Introduction

The A2A client request may fail with error code 409, which corresponds to an "Unauthorized script name" error (PAM-CM-0575). This article provides a procedure to identify the specific parameters the A2A client passes to the PAM server to troubleshoot configuration mismatches.

Environment

  • Privileged Access Manager (PAM), all versions
  • Application to Application (A2A) client, all versions

Resolution

To resolve this issue, perform the following steps to capture the script name, execution path, and file path:

  1. Navigate to Configuration > Diagnostics > Diagnostic Logs.
  2. Set the Tomcat Log Level to Info and click Submit. It may take up to a minute for the change to take effect.
  3. If possible, configure the A2A client to point to the specific PAM server where the log level was changed. If using a site VIP, repeat this log level update on all PAM nodes.
  4. Remove the cache file located at cspmclient/config/data/.cspmclient.dat on the A2A client.
  5. Start the A2A client and reproduce the 409 error.
  6. Once reproduced, revert the Tomcat Log Level on the PAM server(s).
  7. Download the Tomcat logs from the Download tab on the Diagnostic Logs page.
  8. Open the log file and perform a backward search for the string: GetScriptCredentialsCmd validateParameters.
  9. Review the scriptName, scriptFilePath, and scriptExePath parameters to ensure they match your configured A2A Scripts and Mappings.

Note: If no mapping exists or if the script name does not match the process name (e.g., cmd.exe vs. a user script), PAM will return the 409 error.