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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Business Central, POST request with BLOB

(1) ShareShare
ReportReport
Posted on by 8

I create custom table with blob field and API for that table.
If I send POST request without blob field (not null, removed key, value pair from json), it creates new record without any problem.

Problem is, if I send it with blob field it returns this error
400:
{

    /error/: {

        /code/: /BadRequest/,

        /message/: /A body must be provided to the request.  CorrelationId:  16a11edd-0c4b-4b11-bd26-be3a072d37c3./

    }

}

I have tried
1. /blobfield/: null
2. /blobfield/: /some base 64 string/
3. /blobfield/: {}
4. /blobfield/: {
/Length/:0, /IsDefault/:true }

How to send blob via POST request to business central? Or is there any better way to save file in business central with API?


How to send blob via API to business central? Or is there any better way to save file in business central with API?

I have the same question (0)
  • JJMc Profile Picture
    291 on at
    Good morning.
    I'd create a boundaction in the API page, send the BLOB content as Base64, and in the BoundAction do the code required to convert from base64 and assign it to the BLOB field you need to.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,853 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 915 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 643 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans