Product Offering Post Request error code: 24
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2025 10:33 AM
Hello Everyone,
I've been receiving this error when trying to create a product offering through TMF's Open API. I will include my payload as well below just in case I was passing the wrong JSON body.
if I send the request with an empty array of prodSpecCharValueUse (prodSpecCharValueUse: []), it works just fine. but ofc i get no characterstics with my product offering.
{
"code": 24,
"reason": "Invalid characteristic: Either the characteristic is not present in the system or the characteristic does not belong to the specified product specification tree hierarchy",
"message": "Invalid characteristic: Either the characteristic is not present in the system or the characteristic does not belong to the specified product specification tree hierarchy",
"details": [
{
"message": "Invalid characteristic: Either the characteristic is not present in the system or the characteristic does not belong to the specified product specification tree hierarchy",
"datapath": "prodSpecCharValueUse[0]"
}
]
}
{
"name": "product offering for testing",
"displayName": "product offering for testing",
"description": "etst",
"lifecycleStatus": "Draft",
"validFor": {
"startDateTime": "2025-07-07",
"endDateTime": ""
},
"productOfferingTerm": "not_applicable",
"productOfferingPrice": [
{
"priceType": "recurring",
"price": {
"taxIncludedAmount": {
"unit": "USD",
"value": 10
}
}
},
{
"priceType": "nonRecurring",
"price": {
"taxIncludedAmount": {
"unit": "USD",
"value": 0
}
}
}
],
"productOfferingCharacteristic": "",
"bundledProductOffering": [],
"bundledGroupProductOffering": [],
"productSpecification": {
"id": "686bb642021bcdeb5d90ccd0",
"name": "Business Internet Pro"
},
"prodSpecCharValueUse": [
{
"id": "65229978c3a66210255c5b2ed4013103",
"name": "Speed",
"description": "Script automation",
"valueType": "choice",
"validFor": {
"startDatetime": "2025-07-02 16:21:44"
},
"productSpecCharacteristicValue": [
{
"value": "500Mbps",
"validFor": {
"startDateTime": ""
},
"isDefault": false,
"isMandatory": false
}
],
"productSpecification": {
"id": "686bb642021bcdeb5d90ccd0",
"name": "Business Internet Pro",
"version": "",
"internalVersion": "1",
"internalId": "e922d138c3a66210255c5b2ed401319a"
}
}
],
"channel": {
"id": "e561aae4c3e710105252716b7d40dd8f",
"name": "Web"
},
"category": [{
"id": "f4bb1d52c3622210255c5b2ed40131ac"
}],
"status": "draft"
}
0 REPLIES 0