Error 1002
Posted: Thu Oct 20, 2022 3:23 pm
I'm getting an 1002 error when trying to use Data-Into with YAJLINTO. This is in the joblog:
1002: lexical error: invalid character inside string.█
The parser for the DATA-INTO operation detected error code 1002.
Function check. RNX0357 unmonitored by WSPROCJSON at statement 0000000228,
instruction X'0000'.
I've verified with JSONLINT that the JSON is valid. I'm also able to parse the json with javascript JSON.Parse.
Below is the actual Json since it's not very large:
1002: lexical error: invalid character inside string.█
The parser for the DATA-INTO operation detected error code 1002.
Function check. RNX0357 unmonitored by WSPROCJSON at statement 0000000228,
instruction X'0000'.
I've verified with JSONLINT that the JSON is valid. I'm also able to parse the json with javascript JSON.Parse.
Below is the actual Json since it's not very large:
Code: Select all
{
"shipment": {
"id": "f038828b-13f7-4c82-ab7d-d5597b8bcd03",
"identifiers": [
{
"type": "BILL_OF_LADING",
"value": "ONEYSGNCN2809600"
},
{
"type": "CARRIER_SCAC",
"value": "ONEY"
}
],
"shipmentShareLink": "https://na12.voc.project44.com/portal/v2/public/ma/tracking-details?shipmentShareToken=1adf56b9-aeb1-4d9f-8ec6-6e43f6d0477c",
"createdDateTime": "2022-09-06T22:08:47+0000",
"lastModifiedDateTime": "2022-09-06T22:08:47+0000",
"routeInfo": {
"stops": [
{
"id": "5e22c9df-9a5a-4168-9762-205b3998c6f7",
"type": "ORIGIN"
},
{
"id": "f0643ca9-6ad4-4f42-ae31-dca4b4bd5f82",
"type": "DESTINATION"
}
],
"routeSegments": [
{
"id": "97b17b48-f436-49a1-bd40-f4ac8c4822c9",
"fromStopId": "5e22c9df-9a5a-4168-9762-205b3998c6f7",
"toStopId": "f0643ca9-6ad4-4f42-ae31-dca4b4bd5f82",
"transportationMode": "OCEAN"
}
]
},
"relatedShipments": [
{
"id": "e23eb3b9-e7d7-4d73-8cfb-afcf93d057df",
"identifiers": [
{
"type": "CONTAINER_ID",
"value": "KKFU9157200"
},
{
"type": "CARRIER_SCAC",
"value": "ONEY"
}
],
"shipmentShareLink": "https://na12.voc.project44.com/portal/v2/public/ma/tracking-details?shipmentShareToken=6a938250-319a-4fc0-94d3-3739c75f92fb",
"createdDateTime": "2022-09-06T22:08:47+0000",
"lastModifiedDateTime": "2022-09-06T22:08:47+0000"
}
]
},
"events": [
{
"dateTime": "2022-10-20T08:18:15+0000",
"receivedDateTime": "2022-10-20T08:18:15+0000",
"type": "TRACKING_START",
"description": "Shipment tracking active"
}
]
}