Reputation: 21
i have setup OOTB Powertools B2B in CX 2005 with spartacus storefront . but while adding the product into the cart i am getting this error.
Error:
"message" : "It's not allowed to execute this call from the current channel",
"type" : "AccessDeniedError"
The add to cart post url is : https://localhost:9002/occ/v2/powertools-spa/users/anonymous/carts/a6ea625f-6ee4-4b01-9b6a-26a4bfbbe674/entries?code=3755213&qty=1&lang=en&curr=USD
Upvotes: 2
Views: 1236
Reputation: 21
I would like to contribute!
Here in my project I am instantiating a Spartacua TUA (Telco Utilities Accelerator)
I've been having this problem "It's not allowed to execute this call from the current channel" and in my case the solution was to review the property "api.compatibility.b2c.channels" which was with the B2B value for the B2C store. I changed the value and it worked correctly again!
Upvotes: 1
Reputation: 581
We made some changes to Powertools in our sample data in 1.3. That said, Powertools is still not fully supported. We are moving in this direction with the 2+ releases.
Please see this disclaimer for Powertools https://sap.github.io/spartacus-docs/release-information/#b2b-storefront-features.
Upvotes: 2