Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

TMFF 622 Error response

Gargichatterjee
Tera Contributor

Can someone please suggest, what does the following error means?

{
  "code": 1,
  "reason": "Invalid payload: Order creation failed",
  "message": "Invalid payload: Order creation failed",
  "details": [
    {
      "message": "The undefined value has no properties.",
      "datapath": ""
    }
  ]
}

 I have created the payload for create order(TMF 622 POST) using the GET API response. 

3 REPLIES 3

ShashankInamdar
ServiceNow Employee
ServiceNow Employee

Hi @Gargichatterjee , can you please share the payload?

{
"requestedCompletionDate": "2021-05-02T08:13:59.506Z",
"requestedStartDate": "2020-05-03T08:13:59.506Z",
"externalId": "PO-456",
"channel": [
{
"id": "2",
"name": "Online channel"
}
],
"note": [
{
"text": "This is a TMF product order illustration"
},
{
"text": "This is a TMF product order illustration no 2"
}
],
"productOrderItem": [
{
"id": "5bcd4fea33b50a10ec3fb6373e5c7b5d",
"ponr": "false",
"quantity": 1,
"priority": 4,
"action": "add",
"itemPrice": [
{
"priceType": "recurring",
"price": {
"taxIncludedAmount": {
"unit": "USD",
"value": 0
}
}
},
{
"priceType": "nonRecurring",
"price": {
"taxIncludedAmount": {
"unit": "USD",
"value": 0
}
}
}
],
"product": {
"@type": "Product",
"productCharacteristic": [
{
"name": "CIFS Optimization",
"valueType": "choice",
"value": "SMB2",
"previousValue": ""
},
{
"name": "WAN Optimization",
"valueType": "choice",
"value": "Premium",
"previousValue": ""
},
{
"name": "SSL Optimization",
"valueType": "choice",
"value": "True",
"previousValue": ""
},
{
"name": "CPE Id",
"valueType": "single_line_text",
"value": "",
"previousValue": ""
},
{
"name": "Routing",
"valueType": "choice",
"value": "Premium",
"previousValue": ""
},
{
"name": "CPE Model",
"valueType": "choice",
"value": "ASR",
"previousValue": ""
},
{
"name": "CPE Type",
"valueType": "choice",
"value": "Physical",
"previousValue": ""
},
{
"name": "Routing Protocol",
"valueType": "choice",
"value": "eBGP",
"previousValue": ""
},
{
"name": "Network Site",
"valueType": "single_line_text",
"value": "",
"previousValue": ""
}
],
"productSpecification": {
"id": "",
"name": "SD-WAN Edge Device V5",
"version": "",
"internalVersion": "2",
"internalId": "",
"@type": "ProductSpecificationRef"
}
},
"productOffering": {
"id": "9d1c4ae23b75c610af885aa036e45a6e",
"name": "SD-WAN Platinum Plan V5",
"version": "",
"internalVersion": "1",
"internalId": "9d1c4ae23b75c610af885aa036e45a6e"
},
"productOrderItemRelationship": [
{
"id": "c3cd4fea33b50a10ec3fb6373e5c7b57",
"relationshipType": "HasParent"
}
],
"state": "in_progress",
"version": "1",
"@type": "ProductOrderItem"
},
{
"id": "5fcd4fea33b50a10ec3fb6373e5c7b73",
"ponr": "false",
"quantity": 1,
"priority": 4,
"action": "add",
"itemPrice": [
{
"priceType": "recurring",
"price": {
"taxIncludedAmount": {
"unit": "USD",
"value": 0
}
}
},
{
"priceType": "nonRecurring",
"price": {
"taxIncludedAmount": {
"unit": "USD",
"value": 0
}
}
}
],
"product": {
"@type": "Product",
"productCharacteristic": [
{
"name": "Controller License ID",
"valueType": "single_line_text",
"value": "",
"previousValue": ""
},
{
"name": "Tenancy",
"valueType": "choice",
"value": "Premium (>50 sites)",
"previousValue": ""
}
],
"productSpecification": {
"id": "",
"name": "SD-WAN Controller V5",
"version": "",
"internalVersion": "2",
"internalId": "",
"@type": "ProductSpecificationRef"
}
},
"productOffering": {
"id": "9d1c4ae23b75c610af885aa036e45a6e",
"name": "SD-WAN Platinum Plan V5",
"version": "",
"internalVersion": "1",
"internalId": "9d1c4ae23b75c610af885aa036e45a6e"
},
"productOrderItemRelationship": [
{
"id": "c3cd4fea33b50a10ec3fb6373e5c7b57",
"relationshipType": "HasParent"
}
],
"state": "in_progress",
"version": "1",
"@type": "ProductOrderItem"
},
{
"id": "9bcd4fea33b50a10ec3fb6373e5c7b7a",
"ponr": "false",
"quantity": 1,
"priority": 4,
"action": "add",
"itemPrice": [
{
"priceType": "recurring",
"price": {
"taxIncludedAmount": {
"unit": "USD",
"value": 0
}
}
},
{
"priceType": "nonRecurring",
"price": {
"taxIncludedAmount": {
"unit": "USD",
"value": 0
}
}
}
],
"product": {
"@type": "Product",
"productCharacteristic": [
{
"name": "Intrusion Prevention",
"valueType": "yes_no",
"value": "No",
"previousValue": ""
},
{
"name": "Application Awarenes",
"valueType": "yes_no",
"value": "Yes",
"previousValue": ""
},
{
"name": "Security Type",
"valueType": "choice",
"value": "Premium",
"previousValue": ""
},
{
"name": "URL Filtering",
"valueType": "yes_no",
"value": "No",
"previousValue": ""
}
],
"productSpecification": {
"id": "",
"name": "SD-WAN Security V5",
"version": "",
"internalVersion": "2",
"internalId": "",
"@type": "ProductSpecificationRef"
}
},
"productOffering": {
"id": "9d1c4ae23b75c610af885aa036e45a6e",
"name": "SD-WAN Platinum Plan V5",
"version": "",
"internalVersion": "1",
"internalId": "9d1c4ae23b75c610af885aa036e45a6e"
},
"productOrderItemRelationship": [
{
"id": "c3cd4fea33b50a10ec3fb6373e5c7b57",
"relationshipType": "HasParent"
}
],
"state": "in_progress",
"version": "1",
"@type": "ProductOrderItem"
},
{
"id": "c3cd4fea33b50a10ec3fb6373e5c7b57",
"ponr": "false",
"quantity": 1,
"priority": 4,
"action": "add",
"itemPrice": [
{
"priceType": "recurring",
"price": {
"taxIncludedAmount": {
"unit": "USD",
"value": 0
}
}
},
{
"priceType": "nonRecurring",
"price": {
"taxIncludedAmount": {
"unit": "USD",
"value": 0
}
}
}
],
"product": {
"@type": "Product",
"productSpecification": {
"id": "",
"name": "SD-WAN Service Package V5",
"version": "",
"internalVersion": "3",
"internalId": "",
"@type": "ProductSpecificationRef"
}
},
"productOffering": {
"id": "9d1c4ae23b75c610af885aa036e45a6e",
"name": "SD-WAN Platinum Plan V5",
"version": "",
"internalVersion": "1",
"internalId": "9d1c4ae23b75c610af885aa036e45a6e"
},
"productOrderItemRelationship": [
{
"id": "5bcd4fea33b50a10ec3fb6373e5c7b5d",
"relationshipType": "HasChild"
},
{
"id": "5fcd4fea33b50a10ec3fb6373e5c7b73",
"relationshipType": "HasChild"
},
{
"id": "9bcd4fea33b50a10ec3fb6373e5c7b7a",
"relationshipType": "HasChild"
}
],
"state": "in_progress",
"version": "1",
"@type": "ProductOrderItem"
},
{
"id": "e7ddcfea33b50a10ec3fb6373e5c7b65",
"ponr": "false",
"quantity": 1,
"priority": 4,
"action": "add",
"itemPrice": [
{
"priceType": "recurring",
"price": {
"taxIncludedAmount": {
"unit": "USD",
"value": 0
}
}
},
{
"priceType": "nonRecurring",
"price": {
"taxIncludedAmount": {
"unit": "USD",
"value": 0
}
}
}
],
"product": {
"@type": "Product",
"productCharacteristic": [
{
"name": "UNI Speed",
"valueType": "choice",
"value": "1 Gbps",
"previousValue": ""
},
{
"name": "Access Type",
"valueType": "choice",
"value": "Fiber",
"previousValue": ""
},
{
"name": "EVC Service Type",
"valueType": "choice",
"value": "Private Line",
"previousValue": ""
},
{
"name": "EVC Bandwidth",
"valueType": "choice",
"value": "10 Mbps",
"previousValue": ""
},
{
"name": "CPE Type",
"valueType": "choice",
"value": "Physical",
"previousValue": ""
},
{
"name": "Network Interface",
"valueType": "choice",
"value": "NNI",
"previousValue": ""
},
{
"name": "Service Multiplexing",
"valueType": "choice",
"value": "Yes",
"previousValue": ""
},
{
"name": "Max Count EVC",
"valueType": "choice",
"value": "100",
"previousValue": ""
},
{
"name": "CPE Model",
"valueType": "choice",
"value": "ISR",
"previousValue": ""
}
],
"productSpecification": {
"id": "b10cad41333dc650ec3fb6373e5c7b52",
"name": "Ethernet Service",
"version": "",
"internalVersion": "1",
"internalId": "b10cad41333dc650ec3fb6373e5c7b52",
"@type": "ProductSpecificationRef"
}
},
"productOffering": {
"id": "fbc3903d3b31c290af885aa036e45af7",
"name": "Gigabit Ethernet",
"version": "",
"internalVersion": "1",
"internalId": "fbc3903d3b31c290af885aa036e45af7"
},
"state": "in_progress",
"version": "1",
"@type": "ProductOrderItem"
}
],
"relatedParty": [
{
"id": "9af5b6bc3bb5ca50af885aa036e45a03",
"name": "Chili Picante",
"@type": "RelatedParty",
"@referredType": "Customer"
},
{
"id": "84c352da3b354610af885aa036e45af5",
"name": "Sara Thomas",
"@type": "RelatedParty",
"@referredType": "CustomerContact"
}
],
"@type": "ProductOrder"
}

Hi @Gargichatterjee ,

To bring this to conclusion, as discussed offline, the payload above has been fetched from the GET call (which is a valid method of fetching) but as was discovered - there was a potential corruption of the Catalog model that was causing the issue.

Were you able to work with a fresh definition? And if so, you might want to close this thread.