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
User Groups Public Preview

Join us for our User Group Public Preview!

Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (65,379)