SAP Knowledge Base Article - Preview

3547904 - Swagger not accessible with 401 UnauthorizedError in a customized web services extension with a customized servlet path

Symptom

Swagger in a customized web services extension with a customized servlet path, like https://localhost:9002/training/v2/swagger-ui/index.html, is not accessible.

It shows:

<errorList>
<errors>
<message>Full authentication is required to access this resource</message>
<type>UnauthorizedError</type>
</errors>
</errorList>
 

***Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.***


Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud 2211

Keywords

ywebservices, swaggerintegration, swagger-ui.html , KBA , CEC-SCC-COM-BC-WSC , Web Services Commons , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.