cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nhance
Advocate II
Advocate II

Operation null was not found in swagger

Hey team,

 

I am building a custom connector that utilizes a 2-stage dynamic lookup. After a connection is created you need to specify the host and environment to continue.

 

In order for it to work, the host must be selected, then the available environments are loaded from there. I believe I have the swagger file setup correctly, but when I try to select a trigger it I get the following error:

 

Capture.PNG

 

Operation null was not found in swagger.

 

My gut is telling me this is related to an expected operationId not being present, but I can't figure it out for the life of me.

Can anyone give me a clue of where to look? I am not able to share my swagger json.

 

Thanks,

Nick

3 REPLIES 3
fchopo
Super User
Super User

Hello @nhance 

Have a look at this thread: https://powerusers.microsoft.com/t5/Connecting-To-Data/Not-all-Operations-in-Swagger-Shown-in-Micros...

It seems you need an OperationId in your definition file.

Hope it helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!
v-litu-msft
Community Support
Community Support

Hi @nhance,

 

What's the service of the custom connector?

There is a blog custom connector of Facebook, you could refer to it, hope it could help you:

https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Facebook-Custom-Connector/ba-p/305...

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Thank you, but what my connector is trying to do is a nested x-ms-dynamic-list.

 

Basically, I need to select the host using x-ms-dynamic-list which gives me an output parameter I can use to fetch the list of environments for that host.

 

With both the selected host and the list of environments, I can then select an environment.

 

Having both the host and the environment selected, I can then make a call to my API.

 

It appears that perhaps this nested dependency inside the API won't work. I would very much like to present the options for users to select.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (4,187)