search cancel

Automic REST API throwing invalid credentials error

book

Article ID: 216016

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

The Issue is with JCP REST authentication. When using Automic REST API the user is getting invalid credentials as a response from Automic frequently.


When the user is trying to make a REST API call, receiving the below error.

Error message:

HTTP/1.1 401 Unauthorized
Date: Wed, 24 Mar 2021 00:00:48 GMT
Content-Type: application/json
WWW-Authenticate: Basic realm="AUTOMIC"
Content-Length: 116

{
  "code" : 45254,
  "error" : "The credentials are not valid.",
  "details" : "No detail information available."
}

 

Steps to reproduce the problem.
1. Log in to AWI 
2. Executing REST API jobs
3. Resulting in the error, intermittently.

Environment

Automation Engine: 12.3

Cause

Configuration

Resolution

Follow the below resolution options to resolve the error.

Step1: Set parallelDBconnections=10 in the ucsrv.ini

Step2: Increase minPoolSize to 36

Additional Information

https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#REST_API/AE_REST_API_GeneralInfo.htm#link21