I have created a table in Business Central that includes fields with the Blob data type. When I try to send JSON data to these fields using Postman, I encounter the following error:
Blob
Postman API Call: POST https://api.businesscentral.dynamics.com/v2.0/{TenantID}/Sandbox/api/CJAPI/CJG/v1.0/companies({CompanyID})/sch_schedulerconfiguration Request Body: { "sch_bookingform": "{\"default\": \"booking test 13\"}", "sch_configurationname": "Default test 15", "sch_hoverdetails": "{\"tooltip\": \"Appointment Details\"}", "sch_popupdetails": "{\"title\": \"Booking Info\", \"content\": \"Details about the booking\"}" }
Error Response:
I have the following setup:
sch_bookingform
sch_hoverdetails
sch_popupdetails
Json
OnValidate
WriteJSONToBlob
OutStream
ReadJSONFromBlob
InStream
sch_schedulerconfiguration
"Read called with an open stream or text reader"
Hi, good day I hope this can help you, and give you some hints.
Dynamics 365 Business Central: handling BLOB fields on APIs – Stefano Demiliani
Best Regards Gerardo
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Sumit Singh 2,857
Sohail Ahmed 2,687 Super User 2025 Season 2
Jeffrey Bulanadi 2,203