CAHVS0462 - No endpoint GET /web-viewer/api- OM Web Viewer 14
search cancel

CAHVS0462 - No endpoint GET /web-viewer/api- OM Web Viewer 14

book

Article ID: 449227

calendar_today

Updated On:

Products

Output Management Web Viewer

Issue/Introduction

When attempting to access the REST API on Output Management (OM) Web Viewer 14.0, the request fails with the following error:

{"messages":[{"type":"ERROR", "number": "CAHVS0462", "content": "No endpoint GET /web-viewer/api."}]}

Additionally, a warning message can be also visible from the TOMCAT STC:


WARN  <*###> <#> No mapping for GET /web-viewer/api        

Environment

  • Output Management Web Viewer 14.0

Cause

This error occurs due to a path mismatch. The URL being accessed is incomplete. The base /api path is not a valid endpoint and the application does not have a mapping for it.

 

Resolution

The REST API is accessible in the Swagger UI. The URL to access the Swagger UI has the following format:

https://<hostname>:<portname>/web-viewer/api/swagger-ui.html

Additional Information

For more information regarding the CAHVS0462E see the [OM Web Viewer - CAHVS0462E Request rejected details - Documentation] (https://techdocs.broadcom.com/us/en/ca-mainframe-software/traditional-management/web-viewer/14-0/messages/cahx-messages/cahvs0462e.html

For Further assistance with REST API see the [OM Web Viewer - Use the REST API - Documentation](https://techdocs.broadcom.com/us/en/ca-mainframe-software/traditional-management/web-viewer/14-0/using/use-the-rest-api.html)