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 / new custom connector n...
Power Automate
Unanswered

new custom connector not available due to automated validation checks

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I created a new custom connector to use a REST API and it works fine in the swagger view and when using a connection in testing mode.

But when I want to add the action to a flow, it throws the following error:

 

ajaxRequestFailed. The trigger or custom API action "XXX" is not available due to automated validation checks. Although existing connections will continue to run as expected, no additional steps can be added until the owner of the custom API resolves the validation errors.

 

I found one other post with this problem, without a resolution:

https://powerusers.microsoft.com/t5/Building-Flows/Unable-to-Add-New-Action-to-Flow/m-p/487423#M60012

 

I tried Chrome, Edge, and Firefox.

 

How can I resolve the validation errors?

 

Thanks for your help

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

    Use the paconn CLI to validate the connector asset. https://github.com/Microsoft/PowerPlatformConnectors/tree/master/tools/paconn-cli

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE 👍.

  • BKohnke Profile Picture
    on at

    Thanks for the tool.

    I don't want to certify my connector but I resolved every error that the tool found.

    It only said that I should add descriptions to every parameter and contact and x-ms-metadata information.

     

    I resolved them all and now after validate the tool says:

    Swagger certification succeeded with warnings.

     

    The warnings are single implicit encoding and some similar paths.

     

    I updated the connector again using paconn and tried to implement an action, but it shows the same error.

     

    ajaxRequestFailed. The Custom API 'XXX' trigger or action is unavailable due to automated validation checks. Although, existing connections will continue to run as expected, no additional steps may be added until validation errors are resolved by the owner of the Custom API.

  • murshed Profile Picture
    Microsoft Employee on at

    Do you have the error code or any other information displayed with the error that I can correlate in the log? Can you please give me your custom connector id (displayed in the address when you edit the connector)?

     

  • BKohnke Profile Picture
    on at

    Sadly, this is the whole error, there is no more information. I click on the action in the flow, it loads a second and then the error displays:

    BKohnke_0-1630007939231.png

     

    The ID in the URL is:

    shared_trackingtime-5f7b5488df485f1ea1-5fff731f93c3692738

    The error shows this ID, without the "shared_":

    trackingtime-5f7b5488df485f1ea1-5fff731f93c3692738

  • BKohnke Profile Picture
    on at

    After some more testing, I think it has to do with me importing the actions from a Postman collection.

    When I create a custom connector from blank and then configure a connector exactly the same, I don't get the error.

  • Shidin Haridas Profile Picture
    49 on at

    The issue is definitely due to your API definition. 
    In the UI, testing the custom connector might show success, but you will still get the error on using it in a Power Automate flow. 

     

    The main issue here is lack of meaningful errors being shown on the UI. 

    A workaround I have found is:

    1. Copy the Swagger definition from the custom connector (YAML)

    2. Convert the YAML into JSON (use any online converters)

    3. Save the JSON file locally.

    4. Manually create a new connector. Choose "Import from OpenAPI file". Choose the locally saved JSON file.

    5. Configure the bare minimum configurations.

    6. Try to "Save Connector".

    This should hopefully throw some meaningful errors about where your API definition is going wrong. 

     

    Cheers!

  • luisdev86 Profile Picture
    17 on at

    Hello, I know it's being a while but I'm having this exact same issue with my Flows. I created the connector and all actions are successful when I "Test" the connector, but I still get this error when I try to use any action in the flows.

     

    If you found a solution, I would greatly appreciate you sharing it

     

    Thanks in advance

    Luis

  • BKohnke Profile Picture
    on at

    Hi Luis,

     

    iirc, I found that I only get that error when I try to import from somewhere. When I build it all from scratch it worked as expected. But since the error is very generic, it may be something else for you...

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard