cancel
Showing results for 
Search instead for 
Did you mean: 

Spartacus Storefront fails to connect backend commerce server through OCC API

0 Kudos
1,485

I have setup SAP Hybris 2211 in my local to use a custom spartacus storefront which is already built using 4.3.X libraries. Though my build is successful and both backend & frontend servers started, when I hit http://localhost:4200/ it shows a blank page with page title and in developers console the request gives 404 error with below message.

  1. message: "There is no resource for path /occ/v2/mystorefront/cms/pages/storeid"
  2. type: "UnknownResourceError"

In Swagger UI also when I try to access this store from exposed api handler methods it shows same error. Can anyone help on what needs to be done in this case.
Note: I'm using SAP Machine JDK17 , Angular CLI 14.2.X and Node js of 14.2 in my local

Accepted Solutions (0)

Answers (1)

Answers (1)

samuelyang
Product and Topic Expert
Product and Topic Expert

Looks like you're missing some occ extensions like cmsocc, please check your localextensions.xml or HAC/platform/extensions to make sure the required occ extensions/addons are loaded.

If you're interested in Composable Storefront, aka Spartacus, you could register the following live sessions for July.

Thanks!