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 / How To Deal With Neste...
Power Automate
Answered

How To Deal With Nested JSON Responses With A Custom Connector?

(0) ShareShare
ReportReport
Posted on by 24

I have a custom collector that connects to a REST API. The results of this query have nested JSON in them:

 

 

 

"timeseries": [
 {
 "metadatavalues": [],
 "data": [
 {
 "timeStamp": "2020-07-29T07:00:00Z",
 "total": 905.0
 },
 {
 "timeStamp": "2020-07-29T07:05:00Z",
 "total": 213084.0
 },
 ]
 }
 ],

 

 

 

 

 

This is not the full query but when I add this as a response the "timeStamp" and "total" are not being added as tokens so when I try and run the query I am getting this error:

Error details: 'The API operation 'Test' requires the property 'body/value/0/timeseries/0/data/0/total' to be of type 'Integer' but is of type 'Float'.'

 

As you can see in the image these nested tokens are not here.

 

Response.jpg

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

    Hi @Tman915 

     

    Looks like you have duplicated the post

     

    https://powerusers.microsoft.com/t5/Connecting-To-Data/Dealing-With-Nested-JSON-Response-In-A-Custom-Connector/m-p/641700#M9525

     

    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard