Symptom
- After upgrading to JDK 21, calling OCC GET /{basesite}/users/current on a site configured as B2B returns AccessDeniedException
- Error message: "It's not allowed to execute this call from the current channel"
- Works as expected when the site channel is B2C
Read more...
Environment
SAP Commerce Cloud 2211 for JDK21
Product
SAP Commerce Cloud 2211 for JDK21
Keywords
occ, users/current, orgUsers/current, b2b, b2c, accessdeniedexception, channel restriction, it's not allowed to execute this call from the current channel, sitechannelrestriction, validateSiteChannel, jdk21, commercewebservices, api endpoint, current user, 403 , KBA , CEC-SCC-COM-BC-OCC , Commerce Web Services - OCC , 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