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...
Unanswered

Error 404 Not Found, Batch API Request to Business Central EndPoint

(0) ShareShare
ReportReport
Posted on by 30

Hi,

I have created an API page in Business Central. Single GET/PATCH/PUT requests are working fine. 

But when I send batch patch requests from my C# application I get 404-Not Found http resource api.businesscentral.dynamics.com/v2.0/{myOrgID}/{env}/api/...../contacts('ABC0000')?Company='CRONUS USA, Inc.'

Here is my batch request sample:

--batch_c9e0ac54-6f58-4282-91cb-b116bd7195d5
Content-Type: multipart/mixed;boundary=changeset_f6a5ccb5-9166-4821-9700-0bd9201904f2

--changeset_4e18c9a3-c417-4f39-994c-8a2f5d36276a
Content-Type: application/http
Content-Transfer-Encoding:binary
Content-ID: 1
PATCH https://api.businesscentral.dynamics.com/........
If-Match: *
Content-Type: application/json;type=entry
{Json Body Here}
--changeset_4e18c9a3-c417-4f39-994c-8a2f5d36276a--

--changeset_c3c6e733-d476-42d0-8fc2-e9a5e41f33b6
Content-Type: application/http
Content-Transfer-Encoding:binary
Content-ID: 2
PATCH https://api.businesscentral.dynamics.com/........
If-Match: *
Content-Type: application/json;type=entry
{Json Body Here}
--changeset_c3c6e733-d476-42d0-8fc2-e9a5e41f33b6--
.
.
.
.
--changeset_f6a5ccb5-9166-4821-9700-0bd9201904f2--
--batch_c9e0ac54-6f58-4282-91cb-b116bd7195d5--



Error Message:

{
 "responses": [
 {
 "id": "1",
 "atomicityGroup": "5acaa4eb-d2d0-4e66-b456-********",
 "status": 404,
 "headers": {
 "content-type": "application/json; charset=utf-8"
 },
 "body": {
 "Message": "No HTTP resource was found that matches the request URI 'https://api.businesscentral.dynamics.com/v2.0/{orgid}/{env}/api/...../contacts('CT000001')?Company='CRONUS USA, Inc.''."
 }
 }
 ]
}


I have no clue why i'm getting 404 not found error even that URL is working fine for single patch request.

I have the same question (0)

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

Mansi Soni – Community Spotlight

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

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 1,507 Super User 2025 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 1,166 Super User 2025 Season 2

#3
Andrés Arias Profile Picture

Andrés Arias 1,091 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans