Symptom
- Deployment of an application from SAP Business Application Studio (BAS) to the S/4HANA Public Cloud Development Tenant fails.
- Error message received: "400 error with the message 'You are not authorized to create.'"
Environment
SAP S/4HANA Cloud Public Edition
Business Application Studio
Reproducing the Issue
- Open SAP Business Application Studio (BAS).
- Attempt to deploy an application to the S/4HANA Public Cloud Development Tenant.
- Observe the error message: "400 error with the message 'You are not authorized to create'"
Cause
- The SAP_A4C_BC_DEV_UID_PC business catalog, essential for deploying SAP Fiori Applications, is included in the SAP_BR_DEVELOPER business role template.
- The required business roles are assigned to a different user instead of the user attempting the deployment.
Resolution
Assign business catalog SAP_A4C_BC_DEV_UID_PC to an existing business role(created from business role template SAP_BR_DEVELOPER), or create a business role from business role template SAP_BR_DEVELOPER.
Ensure Write Access of the business role is Unrestricted, and assign this business role to the user attempting the deployment.
See Also
Keywords
sap business application studio, bas, s/4hana public cloud, authorization error, 400 error, fiori application deployment, sap_a4c_bc_dev_uid_pc business catalog, business role, You are not authorized to create , KBA , CA-UI5-ABA-SAR , UI5 App Infrastructure: SAPUI5 ABAP Repository , Problem
SAP Knowledge Base Article - Public