cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Georgiak22
Frequent Visitor

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

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
v-xida-msft
Community Support
Community Support

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.

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!

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,064)