CAHVS0251E Invalid Credentials With API after LU10439 Web Viewer 14.0
search cancel

CAHVS0251E Invalid Credentials With API after LU10439 Web Viewer 14.0

book

Article ID: 271285

calendar_today

Updated On:

Products

Output Management Web Viewer

Issue/Introduction

We upgraded Web Viewer to LU10439  Modern User interface Build: 14.0.65 ( REACT ). The GUI is working fine but we can't access the API anymore on the new version. We still have the old version running on production and the exact same API call does work there. 

The new version gives: 
----------------------------------------------------
{"result":{"name":"%","order":"id","limit":10000,"offset":0,"groupRepositoryType":"selectavail","repositoryCount":0,"sessionId":111},"message":[{"shortText":"Invalid Credentials","longText":"CAHVS0251E Invalid Credentials","locale":"en-US"}],"status":"ERROR"}
----------------------------------------------------

Environment

Release : 14.0

Web Viewer

Cause

Username and password authentication via API endpoints other than the login endpoint has been removed at this level. Starting with this  LU10439  Modern User interface Build: 14.0.65 , all operations (other than the login operation) require a session token to authenticate.

Resolution

Starting with build 14.0.64 (LU10439 Modernized User Interface), support for using username/password was removed for all endpoints except login.

Non-login username and password authentication removed (PTF LU10439)

.