Symptom
- OCC calls to CMS endpoints return 400 Bad Request.
- Back end logs show: de.hybris.platform.cms2.exceptions.TypePermissionException: Unauthorized type access. Reason: User does not have permissions to read an instance of type MediaFormat.
- The issue occurs when calling cms/pages (for example, CMS OCC endpoints); other endpoints like basesites work.
- Reproduces for the anonymous session user.
Read more...
Environment
- Product: SAP Commerce Cloud, composable storefront
- SAP Commerce Cloud Spartacus
Product
SAP Commerce Cloud, composable storefront all versions
Keywords
occ, 400 bad request, cms pages, typepermissionexception, unauthorized type access, mediaformat, permissions, anonymous user, customergroup, cmsocc, composable storefront, spartacus, ssr, backoffice, read permission , KBA , CEC-SPA , SAP Commerce Cloud Spartacus , 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.
SAP Knowledge Base Article - Preview