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

How do you handle null date values via API ?

(1) ShareShare
ReportReport
Posted on by 69

Hello,

we provide data via API interface. In our case some date fields are NULL. These NULL values are represented as 0001-01-01 in the API. When trying to write the data to a SQL database, we get an error because the min. date is 1753-01-01.

How do you handle such problems ?

Kind Regards

I have the same question (0)
  • Hinnack Profile Picture
    69 on at
    RE: How do you handle null date values via API ?

    For more clarity:

    With NULL values are actually meant 0D values

  • Suggested answer
    Andy Sather Profile Picture
    on at
    RE: How do you handle null date values via API ?

    Hello - I found a similar message on a different Microsoft Community (power automate).  Not sure if you can apply the same workaround: powerusers.microsoft.com/.../420710

    You can also reach out to our Developer Support on our Yammer for assistance as well:

    www.yammer.com/dynamicsnavdev

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,602

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 3,033 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,738 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans