SAP Knowledge Base Article - Preview

3254341 - SAP Commerce: public access to OCC endpoint returns message There is no resource for path

Symptom

Using the API, you want to access endpoint /occ/v2/{baseSiteId}/something, but you get a XML response like:

<errors>
    <error>
        <message>There is no resource for path /occ/v2/{baseSiteId}/something</message>
        <type>UnknownResourceError</type>
    </error>
</errors>
 
or an equivalent JSON response:
 
{
    "errors" : [ {
        "message": "There is no resource for path /occ/v2/{baseSiteId}/something",
        "type": "UnknownResourceError"
    } ]
}


Read more...

Environment

SAP Commerce, On Premise and Cloud
Affected patches:

  • 1905.45
  • 2005.29
  • 2011.24
  • 2105.14
  • 2205.3

Product

SAP Commerce 1905 ; SAP Commerce 2005 ; SAP Commerce 2011 ; SAP Commerce 2105 ; SAP Commerce 2205 ; SAP Commerce Cloud 1905 ; SAP Commerce Cloud 2005 ; SAP Commerce Cloud 2011 ; SAP Commerce Cloud 2105 ; SAP Commerce Cloud 2205

Keywords

KBA , CEC-CDS-API , API Gateway (account, authorisation, authentication) , 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.