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

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

Custom API Connector Trouble

Like (0) ShareShare
ReportReport
Posted on 12 Oct 2020 18:00:55 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?

 

I have the same question (0)
  • abm abm Profile Picture
    32,506 Most Valuable Professional on 12 Oct 2020 at 23:56:18
    Re: Custom API Connector Trouble

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics

Loading started