Symptom
Authentication requests fail with an error similar to:
- Authentication via OIDC Bearer Token (user propagation via OpenID Connect) failed: Language (IV_LANGUAGE) invalid (is empty).
The issue may manifest as:
- HTTP 401 Unauthorized
- HTTP 500 Internal Server Error
- OIDC authentication failures
- OAuth authentication failures
- Failed API calls
- Failed SAP Business Application Studio (BAS) deployments
- Failed SAP Fiori deployment operations
- Failed custom application access to SAP S/4HANA
Read more...
Environment
- SAP S/4HANA Cloud Public Edition
- SAP S/4HANA
- OIDC authentication
- OAuth authentication
- OAuth2SAMLBearerAssertion scenarios
- SAP BTP Destination Service
- Mobile applications using OIDC user propagation
- Custom HTTP clients
Keywords
IV_LANGUAGE, Language invalid, Language (IV_LANGUAGE) invalid (is empty), OIDC, OpenID Connect, OAuth, OAuth2SAMLBearerAssertion, Accept-Language, sap-language, c_langu, CL_HTTP_SERVER_NET, OIDC Bearer Token, SAP Business Application Studio, 401 Unauthorized, 500 Internal Server Error, Language determination, OIDC user propagation , KBA , BC-MID-ICF , Internet Communication Framework , CBC-BOS-ANS , Add New Scenarios (aka Scope Items) , CA-UI5-ABA-SAR , UI5 App Infrastructure: SAPUI5 ABAP Repository , 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.
SAP Knowledge Base Article - Preview