Skip to main content

Notifications

Community site session details

Community site session details

Session Id : KHI4uF2KBlVQ+VXGY8oBrZ
Copilot Studio - Copilot Studio pre-built Agent...
Unanswered

Error while adding new Rest API for an action

Like (3) ShareShare
ReportReport
Posted on 20 Mar 2025 04:07:00 by
When I add an action - New Rest API, After uploading the api specification, I get a screen which allows me to enter Action name and description. After entering the details I get an error saying "There was an error saving your action". In the network tab I can see the following:-
  "error": {
        "code": "ApiDefinitionIconUriIsNotTrusted",
        "message": "The custom connector property 'IconUri' is not set to a trusted source."
    }
 
Can someone please help? I have attached the screenshot with the error details.
  • ST-27031948-0 Profile Picture
    2 on 27 Mar 2025 at 19:49:34
    Error while adding new Rest API for an action
    Still broken...
  • CU26030524-0 Profile Picture
    2 on 26 Mar 2025 at 05:30:44
    Error while adding new Rest API for an action
    Facing the same issue.

    Can anyone please share the JSON file, I can verify it.

    Constructing the JSON file, is there is any Microsoft docs to follow up??
  • Suggested answer
    eyal.mishor Profile Picture
    5 on 24 Mar 2025 at 19:04:12
    Error while adding new Rest API for an action
    This flow is indeed broken but I was able to workaround it using "new custom connector" and connect an action to a REST API service
  • AD-24031121-0 Profile Picture
    2 on 24 Mar 2025 at 11:25:24
    Error while adding new Rest API for an action
    Facing the same issue. Is there any workaround at-least?
  • NP-22032007-0 Profile Picture
    3 on 22 Mar 2025 at 20:17:01
    Error while adding new Rest API for an action
    Same here guys. This is broken.
  • eyal.mishor Profile Picture
    5 on 21 Mar 2025 at 12:43:14
    Error while adding new Rest API for an action
    I’m experiencing the same issue. Any help would be greatly appreciated.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard
Loading started