Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : egGntQGMwIwdVVnszVYviH
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

How to build custom service that return bad request if it's not success

Like (0) ShareShare
ReportReport
Posted on 14 Mar 2025 19:22:41 by 4
I build custom service that handle the response if it's valid or not using json object but I can't set status code to 400 if it's not valid as a bad request how can I solve it ??
Categories:
  • CU15021230-0 Profile Picture
    4 on 15 Mar 2025 at 17:21:08
    How to build custom service that return bad request if it's not success
    In D365F&O
  • Martin Dráb Profile Picture
    231,760 Most Valuable Professional on 15 Mar 2025 at 05:07:48
    How to build custom service that return bad request if it's not success
    Which D365 product are you using? The D365 brand covers quite a few things, such as Finance and Operations, Business Central or Customer Engagement. There are custom services in F&O, but maybe another D365 product has a feature of the same name.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans
Loading started