cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Georgiak22
Level: Powered On

Registering Error when trying to add a flow

I have the following flow that sends a json body to a Custom PowerApps connector to a custom API. When testing the flow it completes successfully. The same when I test the custom connector directly.

Flow

 

But when I try to add it to a button I have the following error:

enter image description here

 

Attached you will find the OpenAPI file used for the custom connector.

What can I do? I have already tried:

 

Recreating the flow Calling it from a different powerapp

Checked and recreated custom connector from OpenAPI file

Checked on the production environment as well, same error.

Read and tried solution in similar threads

 

I cannot find another way to troubleshoot this, does anyone have any suggestions?

 
1 ACCEPTED SOLUTION

Accepted Solutions
Georgiak22
Level: Powered On

Re: Registering Error when trying to add a flow

The official Microsoft Response was that I should not use string as input to the custom connector but instead use Compose - Parse json and this solution resolved my problem. Attached the image.

 

 

View solution in original post

3 REPLIES 3
Highlighted
Community Support Team
Community Support Team

Re: Registering Error when trying to add a flow

Hi @Georgiak22,

 

Could you please share a bit more about the result the json function returned within your flow?

 

I have made a test on my side, and don't have the issue that you mentioned.

 

The user @johnmarlowe has faced same issue with you, please check my response within the following thread:

https://powerusers.microsoft.com/t5/General-Discussion/Registering-Error-when-trying-to-add-a-flow/m...

 

Please check if the result the json function returned has a proper JSON schema. In other words, please check if there are some columns which did not have its type defined within the JSON schema. 

 

In addition, please check if the response from the Super user @

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Georgiak22
Level: Powered On

Re: Registering Error when trying to add a flow

Hello @v-xida-msft

 

I have tried the solutions in all similar posts I could find and no luck. Also it is not the browser cache since I have tried it from 2 different machines and subscriptions. Do you have any ideas, or other means to troubleshoot this?

 

The flow works on its own fine and other flows using the custom connector are added fine. I cannot see the difference in this one or if there is a limitation I am no aware of.

 

Thank you!

Georgiak22
Level: Powered On

Re: Registering Error when trying to add a flow

The official Microsoft Response was that I should not use string as input to the custom connector but instead use Compose - Parse json and this solution resolved my problem. Attached the image.

 

 

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 216 members 5,508 guests
Please welcome our newest community members: