SAP Knowledge Base Article - Preview

2246965 - AccessDeniedError when accessing ycommercewebservices resources


When trying to access the REST service resources for ycommercewebservices, e.g. Promotions and Vouchers, an AccessDeniedError is returned to the client.

The response JSON string shows the following:

{"errors": [{
    "message": "Access is denied",
    "type": "AccessDeniedError"

 **"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."**



All SAP hybris Commerce Suite Versions with ycommercewebservices extension support.


SAP Commerce all versions


KBA , CEC-COM-CPS-WEB , Store frontend, Web CMS, Accelerators , How To

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.