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

Notifications

Announcements

Community site session details

Community site session details

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

Custom Connector with raw body (JSON)

(0) ShareShare
ReportReport
Posted on by 208

Hi PA Community,

 

I'm building a custom connector to connect with UiPath Orchestrator. In one POST action I would like to pass a JSON in the body such as:

 

{
 "itemData": {
 "Key1": "Value1",
 "SpecificContent": {
 "SpecificKey1": "Value2",
 "SpecificNumberKey": 325
 }
 }
}

 

This works fine if I specify the object in swagger editor. But I want to keep the definition of the "SpecificContent" flexible.


I defined the body as a paremeter in the swagger:

 

 - name: body
 in: body
 schema: {type: object, title: itemData body, x-ms-visibility: advanced}
 required: false
 x-ms-visibility: advanced

 

 

This works in "Test Connector" when I switch the body to "raw body".

carl1to_1-1664534627834.png

 

But when I use the action in a cloud flow, I get this error:

carl1to_0-1664534489513.png

Error details: 'The API operation 'AddQueueItem' requires the property 'body/SpecificData' to be of type 'Object' but is of type 'String'.'

 

How do you set up the connector to allow for a flexible raw body? I would assume this is a very basic requirement that somehow I was not able to find an solution.

 

Any help is appreciated

Categories:
I have the same question (0)
  • JezLomax Profile Picture
    8 on at

    I have exactly the same issue. Did you manage to find a solution?

  • carl1to Profile Picture
    208 on at

    No, I didn't.

    But there is a connector available for UiPath Orchestrator: UiPath Orchestrator - Connectors | Microsoft Learn

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard