SAP Knowledge Base Article - Preview

3750446 - OCC /users/current returns "it's not allowed to execute this call from the current channel" on B2B after JDK21 upgrade - SAP Commerce Cloud

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.