Symptom
- When creating a configuration via Configurations V2 API for a product alias that has a sales area assigned, the request fails.
- Error response:
{
"error": {
"code": "140001",
"message": "Product could not be found.",
"target": "/api/configuration/v2/configurations",
"details": [],
"internalMessage": "Product with Product Id the id not found in the provided sales area."
}
}
- Creating the same configuration via the application UI succeeds.
Environment
SAP CPQ
Reproducing the Issue
- Create a configurable product.
- Assign a sales area to the product (sales organization, distribution channel, division).
- Create an alias for this product.
- Call the Configurations V2 API endpoint to create a configuration for the alias, providing a valid SalesArea context and currency in the payload.
- Observe that the API responds with error code 140001 “Product could not be found.”
Cause
The Configurations V2 API validation does not account for product aliases when checking sales area; alias support exists for catalog visibility but was not included in the API validation.
Resolution
- Plan to update to the release where this behavior is fixed (tentative fix in release 2611), which aligns Configurations V2 API validation with alias support for sales area.
- Until the fix is available and applied, use the application UI to create configurations for product aliases with sales area, as this path works.
See Also
Keywords
configurations v2 api, product alias, sales area, error 140001, product could not be found, create configuration, api failure, alias validation, catalog alias, sales organization, distribution channel, division, headless api, cpq configuration , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem
SAP Knowledge Base Article - Public