question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting error messages of the format not_specified at e.sendExceptionInternal

See original GitHub issue

Application insights is reporting exceptions with following message problemId: not_specified at e.sendExceptionInternal details:

[{"outerId":"0","message":"not_specified","type":"Error","id":"0","parsedStack":[{"assembly":"at e.sendExceptionInternal
(https://domain.com/static/js/main.78bf8648.js:1:124888)","method":"e.sendExceptionInternal","level":0,"line":1,"fileName":"https://domain.com/static/js/main.78bf8648.js"},{"assembly":"at e.trackException
(https://domain.com/static/js/main.78bf8648.js:1:125105)","method":"e.trackException","level":1,"line":1,"fileName":"https://domain.com/static/js/main.78bf8648.js"},{"assembly":"at e.trackException
(https://domain.com/static/js/main.78bf8648.js:1:185603)","method":"e.trackException","level":2,"line":1,"fileName":"https://domain.com/static/js/main.78bf8648.js"},{"assembly":"at
Function.e.trackException (https://domain.com/static/js/main.78bf8648.js:1:188348)","method":"Function.e.trackException","level":3,"line":1,"fileName":"https://domain.com/static/js/main.78bf8648.js"},{"assembly":"at https://domain.com/static/js/main.78bf8648.js:1:66103","method":"<no_method>","level":4,"line":1,"fileName":"https://domain.com/static/js/main.78bf8648.js"}],"rawStack":"Error: not_specified\n at e.sendExceptionInternal (https://domain.com/static/js/main.78bf8648.js:1:124888)\n at e.trackException (https://domain.com/static/js/main.78bf8648.js:1:125105)\n at e.trackException (https://domain.com/static/js/main.78bf8648.js:1:185603)\n at Function.e.trackException (https://domain.com/static/js/main.78bf8648.js:1:188348)\n at https://domain.com/static/js/main.78bf8648.js:1:66103"}]

AppInsights Js version "@microsoft/applicationinsights-web": "^2.1.1",

Please help me in understanding what’s this issue

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
markwolffcommented, Jun 2, 2020

@AbhaysinghBhosale please see API documentation here

window.appInsights.trackException({
  exception: error,
  properties: {"info":info.componentStack,"itemType":"JavaScript"}
});
1reaction
mohamedfasilcommented, Aug 21, 2019

We’ve fixed that problem, we’re sending errors as

     if (error instanceof Error) {
       appInsights.trackException({
          exception: error
        });
      } else {
       appInsights.trackException({
          exception: new Error(error)
        });
      }

But still receiving the same error

not_specified at e.sendExceptionInternal
client_Browser	Chrome 76.0
client_OS	Mac OS X 10.13
operation_Id	k9frJ
details	[{"outerId":"0","message":"not_specified","type":"Error","parsedStack":[{"assembly":"at e.sendExceptionInternal (https://domain.com/static/js/main.78bf8648.js:1:124888)","method":"e.sendExceptionInternal","level":0,"line":1,"fileName":"https://domain.com/static/js/main.78bf8648.js"},{"assembly":"at e.trackException (https://domain.com/static/js/main.78bf8648.js:1:125105)","method":"e.trackException","level":1,"line":1,"fileName":"https://domain.com/static/js/main.78bf8648.js"},{"assembly":"at e.trackException (https://domain.com/static/js/main.78bf8648.js:1:185603)","method":"e.trackException","level":2,"line":1,"fileName":"https://domain.com/static/js/main.78bf8648.js"},{"assembly":"at Function.e.trackException (https://domain.com/static/js/main.78bf8648.js:1:188348)","method":"Function.e.trackException","level":3,"line":1,"fileName":"https://domain.com/static/js/main.78bf8648.js"},{"assembly":"at https://domain.com/static/js/main.78bf8648.js:1:66103","method":"<no_method>","level":4,"line":1,"fileName":"https://domain.com/static/js/main.78bf8648.js"}],"id":"0","rawStack":"Error: not_specified\n at e.sendExceptionInternal (https://domain.com/static/js/main.78bf8648.js:1:124888)\n at e.trackException (https://domain.com/static/js/main.78bf8648.js:1:125105)\n at e.trackException (https://domain.com/static/js/main.78bf8648.js:1:185603)\n at Function.e.trackException (https://domain.com/static/js/main.78bf8648.js:1:188348)\n at https://domain.com/static/js/main.78bf8648.js:1:66103"}]

Any help would be much appreciated

Read more comments on GitHub >

github_iconTop Results From Across the Web

Write-Error (Microsoft.PowerShell.Utility) - Microsoft Learn
To write a non-terminating error, enter an error message string, ... This command declares a non-terminating error when the Get-ChildItem cmdlet returns a ......
Read more >
Incident Response - Hybrid Analysis
Indicators. Not all malicious and suspicious indicators are displayed. Get your own cloud service or the full version to view all details.
Read more >
Error when calling 3rd party executable from Powershell when ...
I have a PowerShell script that uses du.exe (Disk Usage originally from Sysinternals) to calculate the size of directories. If I run du...
Read more >
How to ignore an error in Powershell and let it continue?
Add -ErrorAction SilentlyContinue to your command. When it's not an error, but an unhandled Exception, you should add -EV Err -EA ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found