web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Custom API Page fails to become registered on Deployment to BC Sandbox

(1) ShareShare
ReportReport
Posted on by
 
 
 Hi All, 

I am creating a custom version of the vendorPaymentJournals API. When I deploy it to BC from VSCode, it is failing to become registered as a service when I set the APIPublisher to a specific value. When I change the APIPublisher, it will end up working. 

Here is a look at the API page

 
It does not appear as an endpoint when I run a GET request to following uri in Postman. 

https:/api.businesscentral.dynamics.com/v2.0/{{Tenant_ID}}/{{Environment}}/api/waveKraft/integration/v2.0/

When I attempt a GET to the endpoint of the API page above like so...
 
https:/api.businesscentral.dynamics.com/v2.0/{{Tenant_ID}}/{{Environment}}/api/waveKraft/integration/v2.0/companies({{Cronus_Comp_ID}})/vendorPaymentBatches

I get the following error 
 
{
    /error/: {
        /code/: /BadRequest_NotFound/,
        /message/: /No HTTP resource was found that matches the request URI 'https:/api.businesscentral.dynamics.com/v2.0/{{Tenant_Id}}/{{Environment_Name}}/api/waveKraft/integration/v2.0/companies({{Company_Id}})/vendorPaymentBatches?tenant={{Tenant}}'./
    }
}
 
When I adjust the APIPublisher to something like 'kraft', it will work. I have a series of other custom APIs working with the exact same combination of APIGroup, APIPublisher, and APIVersion, namely, 'integration', 'waveKraft', and 'v2.0'. 

Any ideas anyone can provide on what my issue might be would be much appreciated.

Thanks! 
I have the same question (0)
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    18,869 Super User 2025 Season 2 on at
    Custom API Page fails to become registered on Deployment to BC Sandbox
    Not sure if it helps or not: https://yzhums.com/52262/
  • soma Profile Picture
    24,410 on at
    Custom API Page fails to become registered on Deployment to BC Sandbox
     
    Did you get a chance to fix this issue? I am also facing the same issue.
     
    I have deployed 15 new custom APIs(all are having same APIGroup and APIPublisher), but only able to access 10 APIs.
  • CS-15051251-0 Profile Picture
    20 on at
    Custom API Page fails to become registered on Deployment to BC Sandbox
    Hi gdrenteria, thanks for the response. I am not sure I understand your comment though. You are referring to the vendorPaymentBatches url? Not sure what you mean "complete this '//'". The url I am using for that GET request does not seem to be the issue because when I change the APIPublisher on the API page and then publish my extension, I just tweak the publisher portion of my url and it works.
     
    Thanks
  • Suggested answer
    Gerardo Rentería García Profile Picture
    22,524 Most Valuable Professional on at
    Custom API Page fails to become registered on Deployment to BC Sandbox
    Hi
    I think you need to complete this in the URL "//"
    BR
    GR

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,899 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,444

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,304

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans