I'm trying to hit a transport company's API to integrate some tracking details into our office tools. I'm getting a frustrating 'ResponseSwaggerSchemaValidationFailure' on the custom connector (it tests fine). Error details: 'The API operation 'GetTracking' requires the property 'body' to be of type 'Object' but is of type 'String'.'
I've done a bit of googling on this, and it looks like flow for some reason just isn't interpreting the response as valid JSON.
I think it's alright though.... This is the response I'm getting to my test lookup ...
{
"Status": {
"Code": "OK",
"Description": "Successful",
"Count": 1
},
"Detail": {
"Data": {
"TrackingID": "xxxxx",
"DateEntered": "07/10/20",
"ConNo": "205611",
"CustRef": "676139",
"Lifts": "1",
"Weight": "1000.00 Kg",
"Status": "JOB COMPLETE",
"Barcodes": "B001727A01",
"ColDepot": "85 Palletways Fulfilment",
"DelDepot": "177 Cross Country Carriers Limited",
"Notes": [
{
"NoteType": "IMAGE SCANNED",
"Barcode": "",
"Comments": "20201009120157_040_3paperwork.jpg",
"Date": "09/10/20",
"Time": "12:02"
},
{
"NoteType": "IMAGE SCANNED",
"Barcode": "",
"Comments": "20201009120213_041_sos_pod.tif",
"Date": "09/10/20",
"Time": "12:02"
},
{
"NoteType": "CLEAN POD",
"Barcode": "",
"Comments": "karen on 09/10/20 at 11:55",
"Date": "09/10/20",
"Time": "12:02"
},
{
"NoteType": "SCANNED",
"Barcode": "B001727A01",
"Comments": "Scanned onto vehicle MX64LJU at depot 177 C&D MICK",
"Date": "09/10/20",
"Time": "08:45"
},
{
"NoteType": "SCANNED IN BAY",
"Barcode": "B001727A01",
"Comments": "Baychecked at depot 177\nBaycheck note added in the Palletways Portal by D177-1-User",
"Date": "09/10/20",
"Time": "07:01"
},
{
"NoteType": "SCANNED",
"Barcode": "B001727A01",
"Comments": "Scanned out of hub to 177 on ay66lpf",
"Date": "09/10/20",
"Time": "03:20"
},
{
"NoteType": "SCANNED",
"Barcode": "B001727A01",
"Comments": "Scanned out of hub to 177 on AY66LPF",
"Date": "09/10/20",
"Time": "03:20"
},
{
"NoteType": "Archway Scan",
"Barcode": "B001727A01",
"Comments": "ARCHWAY SCAN - Fradley Ka SHED Exit on vehicle AY66LPF [Depot 177]",
"Date": "09/10/20",
"Time": "03:20"
},
{
"NoteType": "Archway Scan",
"Barcode": "B001727A01",
"Comments": "ARCHWAY SCAN - Fradley Ka SHED Entry on vehicle YG19BMO [Depot 50]",
"Date": "08/10/20",
"Time": "15:18"
},
{
"NoteType": "SCANNED",
"Barcode": "B001727A01",
"Comments": "Scanned on to vehicle NEXTGEN at depot 85 TRUNK RUN ",
"Date": "07/10/20",
"Time": "13:21"
}
],
"PODurl": "http://track.palletways.com/jmstest.php?path=/var/www4001_sos_pod.tif",
"tracking_url": "http://track.palletways.com/cgi-bin/wstra454001"
}
}
}
Am I missing something obvious?
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2