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

Error not displayed on browser

(3) ShareShare
ReportReport
Posted on by 249

I have a strange issue with my extension (on BC 16.1)

When there is an error (for example the user give an incorrect customer no), the error is not shown in brower

In event log, i have the message error ("The field Sell-to Customer No ....")

i have also this error in eventlog :

Unhandled error occurred on a browser or device client:
{
  "clientInfo": {
    "platform": "Win32",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0",
    "browserLanguage": "fr"
  },
  "message": "Promise rejection.",
  "errorType": {},
  "pageUrl": "">businesscentral:8080/xxxxxxxxx",
  "detailedMessage": "unhandledrejection",
  "silent": true
}

I have this issue only for my extension (not for base app)

This is very annoying !! i can't test my extension ...

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Maybe you can test your extension in Sandbox or on Dockers?

    Thanks.

  • Gwenael Riotteau Profile Picture
    249 on at

    it's OnPrem

    after many tests, it seems to be related in subpart in page (if i delete them, it's ok ...)

    i don't know why (the page has good subtype, ...)

  • Suggested answer
    Gwenael Riotteau Profile Picture
    249 on at

    the issue is when where is a part in a group (page where imported from Nav 2009 ...)

    issue resolved !

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Thank you for posting back final outcome!

  • FriborgB Profile Picture
    13 on at
    Hi there,
    I have the same problem in BC23.1 in PROD environment. It´s an OnPrem Solution
     
    My CSP Dev environment does not have the same issue. 
    I'm not sure what to look for in the pages to avoid these errors in the Eventviewer.
     
    If anyone could advise on how to figure out where this comes from or even better how to remove the root cause, i  would be greatefull.
     
    Error accessing Website PROD
    Unhandled error occurred on a browser or device client:
    {
      "clientInfo": {
        "platform": "Win32",
        "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 Edg/142.0.0.0",
        "browserLanguage": "da",
        "deviceInfo": null
      },
      "pageUrl": "https://XXX.XXXXXX.dk/PROD/?company=XXXXX&startTraceId=6ba658c54c2046eeacaeab414021b96d&tid=&runinframe=1",
      "message": "Promise rejection.",
      "originalError": null,
      "detailedMessage": "unhandledrejection",
      "location": null,
      "requireUserToSignOut": false,
      "renderRestartButton": true,
      "logToServer": true,
      "silent": true,
      "customProperties": null,
      "errorType": {}
    }

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 715 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 452 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 371 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans