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 behav...
Power Automate
Unanswered

Custom Connector behavior different in testing vs running flows

(0) ShareShare
ReportReport
Posted on by

Hello all, I am currently setting up some automation for the law firm I work with, and I'm running into an issue that seems to have stumped me.

 

We use PracticePanther as our Case Management System, and I've set up a custom connector for their REST API which we have access to, so that our flows can access our data. Pretty much all I had to do in order to set up the connector was find the JSON file that gave the OpenAPI definition for their API (it looks like they're using Swagger, and the API definition was automatically generated.

 

When I am in the create/edit screen for the custom connector, I am successfully able to use the 'Test' screen to run any of the actions it generated, and I get proper responses. However, when I use those same actions in a flow, I get an error messages. For example, I can run the 'Users_GetUsers' action in the test page with no input parameters, and I get a response listing all the users. When I try to run this same action from a flow with no input parameters, I get a message saying "The API operation 'Users_GetUsers' requires the property 'body' to be of type 'Object' but is of type 'Array'."

I'm not sure how I can actually look at the request to see exactly what it's talking about, and why it is generating the request improperly, and I don't think I'm doing anything differently from how it was run in testing. Anyone know what's going on here? Any advice would be greatly appreciated.

Categories:
I have the same question (0)
  • milenachen Profile Picture
    Microsoft Employee on at

    Hi @HLOAndrewGraber 

     

    The custom connector setup should be alright if you are able to use it in "Test". May I know if you have any screenshots implementing it in the flow, including the header and the body? Are all parameters in the flow the same as in "Test"?

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard