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 / Custom connector calls...
Power Automate
Unanswered

Custom connector calls to Bound and Unbound Business Central web service 404 NotFound but work in test connector?

(0) ShareShare
ReportReport
Posted on by 9

 Custom connector calls from flows to Bound and Unbound Business Central web services show 404 "NotFound" but work in test connector?

I'm just trying out Power Automate as a possible workflow solution to go with our new Business Central app.  I've created both bound and unbound web services via ODatav4 in Business Central (On-prem) which run some very basic code just to prove they can be called and run some processing.    I've already created standard API's over tables which are working fine to insert / update / get data.

The API calls work fine in the custom connector 'test' area - show 200 and pull back the text string 'Done' which the method returns.  I've also tested via an online API tester, again works fine with a 200 response.  But anytime I put in a flow, it just fails the flow with a 404 "NotFound" with no other explanation or error.

KrispyB_UK_0-1629982705823.png

KrispyB_UK_4-1629983208980.png

 


But in a flow it fails every time with a 404 - which I created a much simplified one, even hardcoded the object ID I passed in a known record in case there's an issue with it picking up a record created in the same flow. I tried adding If-Match headers but I couldn't see in the documentation those are needed for a call like this.

KrispyB_UK_2-1629982936485.png

 

KrispyB_UK_3-1629983074042.png

 

The bound Business Central API code is this simple (for proof of concept)

KrispyB_UK_1-1629982756259.png

 

I've seen at least one other thread where something similar is happening, but no-one could suggest why it fails when called from a flow.  

The raw inputs of the api call within the flow:

{
    "host": {
        "connectionReferenceName""shared_bc-20test-20p2-20bound-20procs-5f67dc4612ece03a-ff1dc3f9b76a1d05",
        "operationId""StartPriceChangeProcessed"
    },
    "parameters": {
        "input""66"
    }
Categories:
I have the same question (0)
  • Verified answer
    KrispyB_UK Profile Picture
    9 on at

    Rather than use the custom connector - I tried a HTTP action, and manually set the connection string etc in that, and it works fine.  So if you do need to make calls to Business Central code units exposed as bound or unbound web services, if you cannot get the custom connector working, try that.  It gets a 200 response with a payload showing the returned 'done' string.    This obviously wouldn't be what I'd want for methods returning data, but the API calls to BC to get/update/insert all work through the custom connector OK.  

    KrispyB_UK_0-1630491880182.png

     

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard