web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Custom API Connector T...
Power Automate
Unanswered

Custom API Connector Trouble

(0) ShareShare
ReportReport
Posted on by 50

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?

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @Chauc3r 

     

    Please see this post and may be helpful.

     

    https://powerusers.microsoft.com/t5/General-Power-Automate/Custom-connector-works-on-test-but-not-in-flow/td-p/713975

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 419

#2
Vish WR Profile Picture

Vish WR 314

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard