Skip to content
This repository was archived by the owner on Jun 10, 2020. It is now read-only.
This repository was archived by the owner on Jun 10, 2020. It is now read-only.

Application Insights Rejecting Exceptions with empty Message #823

@joshbratt

Description

@joshbratt

When sending exception telemetry through to Application Insights, the request gets rejected with a 400, stating that "Field 'message' on type 'ExceptionDetails' is required but missing or empty."

Repro Steps

  1. Perform a call to TelemetryClient.TrackException() with an exception with an empty message.

Actual Behavior

The message is rejected by Application Insights with a 400, requiring the message property to be populated.

Expected Behavior

The message property should not be a required property, or the rejection of the telemetry should be communicated.

image

image

Version Info

SDK Version : 2.5.1
.NET Version : .NET Core 2.1
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) : Visual Studio
OS : Windows 10 Enterprise 17134.472

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions