REST API call returns http 403 error.
search cancel

REST API call returns http 403 error.

book

Article ID: 207498

calendar_today

Updated On: 05-23-2025

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

The health check REST API call fails with http 403 error.

http://ae-server:8088/ae/api/v1/100/system/health
20210128/151541.073 - 153    U00045098 Method 'GET', URL: 'http://ae-server:8088/ae/api/v1/100/system/health', received from IP: 'IP address'
20210128/151541.198 - 153    U00045105 Log on of 'POSTMAN/POSTMAN' successful.
20210128/151541.213 - 153    U00000009 'POSTMAN/POSTMAN': Access denied
20210128/151541.213 - 153    U00045099 The server replied with following status: '403'

JSON response:

{
  "code" : 9,
  "error" : "Permission check failed.",
  "details" : "'Missing privilege': Access denied"
}

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Cause

Configuration.

Resolution

The privilege 'Access to Administration' is needed to perform this action.

The user who is running the REST call needs to have access to the privilege. I hope this screenshot clarifies it.

Once this is granted the health check returns:

{
  "status" : "UP",
  "pwp" : {
    "status" : "UP",
    "instancesRunning" : 1
  },
  "jwp" : {
    "status" : "UP",
    "instancesRunning" : 1
  },
  "cp" : {
    "status" : "UP",
    "instancesRunning" : 2
  }
}
20210128/152521.792 - 160    U00045098 Method 'GET', URL: 'http://ae-server:8088/ae/api/v1/100/system/health', received from IP: 'IP address'
20210128/152521.917 - 160    U00045105 Log on of 'POSTMAN/POSTMAN' successful.
20210128/152521.933 - 160    U00045099 The server replied with following status: '200'