CA 7 Rest API - 401 error not authorized
search cancel

CA 7 Rest API - 401 error not authorized

book

Article ID: 257331

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

Get a 401 status when attempting to use the Job Instance endpoint

We are getting Unauthorized when we try to get the jobs from the queue.

Error Message :

{

    "timestamp"1673009769863,
    "status"401,
    "error""Unauthorized",
    "message""The request to sys1.test.com:41411 was unsuccessful. Cause: 400 BAD_REQUEST \"Error sending authorization request to sys1.test.com:41411, endpoint alias: JOBINSLIST, reason: Username and/or Password information is not valid                           CA71\"",
    "path""/ca7services/api/v1/job/instance/list"
}

Environment

Release : 12.1

Cause

Invalid username and/or password

Resolution

To use the CA 7 Rest API endpoints, you must supply your credentials in "Authtorize" popup. You must enter your credentials in uppercase. Renter the credentials in uppercase and execute the endpoint.