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

Debug Page API

(1) ShareShare
ReportReport
Posted on by 111
Is it possible to debug the trigger/validate code on a page with type?
 
I have seen some posts that you can attach to sandbox to debug webservice call, however on a custom api I cannot get it to stop on breakpoints.
 
Thanks so much
I have the same question (0)
  • Suggested answer
    Sami Ullah Profile Picture
    315 Moderator on at
    Hi,
    Yes, It is possible to debug.
     
    Please Review Below Link.
  • Suggested answer
    YUN ZHU Profile Picture
    99,055 Super User 2026 Season 1 on at
  • MH-06060002-0 Profile Picture
    111 on at
    Thanks you both for your quick replies.
     
    In postman when making the post to the custom api we are using the credentials that are used in BC under the "Microsoft Entra Applications" page.  That userid does not exist in the regular bc users table.  when i try to attach to that user (using the guid) i receive the error 
     
    Error: The user specified in your launch.json file cannot be found on the tenant.
     
    Also the sessionid does not appear in the Manage Sessions for API calls to the custom API
     
    Please advise? I came across this post that I think is dealing with this issue but I am not clear on what the proposed resolution is

     


    Thanks!
     
  • Verified answer
    YUN ZHU Profile Picture
    99,055 Super User 2026 Season 1 on at
    Hi, please try the username mentioned below.
     
    Thanks
    ZHU

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans