Troubleshooting
Problem
You can configured xapirest.servlet.authstyle=BASIC in customer_overrides.properties to override the default value of servlet.authstyle=CONTAINER_USER defined in xapirest.properties file. However, when a REST API call is made after defining this, error code 401 is seen. This error only occurs when servlet.authstyle=CONTAINER_USER or servlet.authstyle=CONTAINER.
Cause
The reason the value defined in customer_overrides.properties was not picked up was because the xapirest=<Install_Dir>/properties/xapirest.properties was missing in the server.properties file
Diagnosing The Problem
Check servers.properties file
Resolving The Problem
Add xapirest=<Install_Dir>/properties/xapirest.properties in server.properties file
Was this topic helpful?
Document Information
Modified date:
25 October 2025
UID
swg22003346