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 Apps / API / Powerapps issue ...
Power Apps
Unanswered

API / Powerapps issue with record within a record

(0) ShareShare
ReportReport
Posted on by 4

Hey guys-

 

I'm having a bit of an issue here and hope that yall can help. When coding an Upsert, Powerapps is not accepting any code that I put in for the record for some reason and I cant figure out what I'm doing wrong. 

 

The test input:

Test input edited.PNG

The test output:

 

Test output edited.PNG

The upsert code:

 

Code Ok without condtion edited.PNG

 

Any help on how to format the conditon record would be greatly appreciated!

 

Thanks

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @Jmart 

     

    Can you share more details about the query parameters in Custom connector and the value passed through the powerapps action? You can replace the meaningful data with some dummy data, we just need to verify the expression passed for the desired format. If you can share more details about this, we might be able to help you better.
     
    Also, is your request working fine in custom connector Test?
     
    Hope this Helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
  • Jmart Profile Picture
    4 on at

    Thanks for the help!

     

    Yes the request works fine. I'll attach the response. I just cant figure out the schema I beleive on what Powerapps would like for the code. It doesnt even like a blank record. Ill attach a test and response as well as the code. 

     

    Thanks

    API call no issue.png
    response.PNG
    API call condition schema.png
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @Jmart 

     

    While making a request to the custom connector, you need to pass the request parameters and not the response parameters. Here, based on the screenshots. I think you are trying to pass the output array. 
     
    What are the parameters defined for request format in the custom connector? Based on one of your previous screenshot, the connector requires SealNumber, two other parameters. The values for these parameters needs to be passed separated by comma. 
     
    Once you are done making all the changes to the connector, save it and remove the connector from your canvas app and register it again. This way it will point to latest version of the connector. Now, the PowerApps editor will provide the order of the parameters in the intellisense, follow this order and pass the parametrs one by one like:
     
    ConnectorName.ActionName(TextInput1.Text,TextInput2.Text,TextInput3.Text)
     
    This above expression is for a connector with three parameters
     
    Hope this Helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. 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 Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard