---
cuppy_hub: azure
cuppy_path: reference/monitor/application-insights-errors.md
cuppy_section: docs
cuppy_doc: CA4F-D7PB
cuppy_doc_uuid: b6605107-54cd-41c3-949b-a8b5c66b4067
cuppy_permalink: https://cuppy.io/azure/d/CA4F-D7PB
cuppy_version: 1
cuppy_updated: 2026-10-23T16:16:52.575Z
cuppy_canonical: https://cuppy.io/azure/docs/reference/monitor/application-insights-errors
cuppy_mcp: https://cuppy.io/mcp
cuppy_body_sha256: f5a48ff4290b61a853276c33ea1ee57921cc5df175d16b2fe4eeb679a8426d7e
# cuppy_body_sha256 is over the document body ALONE, excluding both generated blocks.
---


# Application Insights errors and missing telemetry

Telemetry can be lost at five places: the SDK or agent doesn't send it; the network blocks the ingestion endpoint; ingestion rejects or throttles it; the pipeline delays or drops it (service health); or the portal fails to query it. Microsoft's support article includes PowerShell and curl scripts that post a sample record straight to the ingestion endpoint: if that succeeds from the app's host, the problem is the SDK configuration; if it fails, it's the network.

## Ingestion responses (any language)

| Response | Cause → fix |
|---|---|
| `HTTP/1.1 400 Authentication not supported` | The resource is **Entra-only** (`DisableLocalAuth`) but the SDK sends unauthenticated telemetry to `v2/track`. Configure a credential so it uses `v2.1/track` |
| `HTTP/1.1 401 Authorization required` | The SDK is set up for Entra but can't get a token: look for Azure Identity errors in the SDK logs (wrong client ID, no identity on the host) |
| `HTTP/1.1 403 Unauthorized` | The token's identity lacks **Monitoring Metrics Publisher** on the Application Insights resource |
| Throttled | Above **32,000 events per second** (measured over a minute) |
| Item dropped or truncated | Item over **64 KB**; more than 64,000 items per batch; property values over 8,192 characters; names over 150; messages over 32,768 |

## Causes that send nothing at all

| Cause | Check → fix |
|---|---|
| DNS doesn't resolve the ingestion endpoint from the connection string, or resolves it wrongly | `nslookup` the `IngestionEndpoint` host from the app |
| Firewall or proxy blocks outbound HTTPS to it | Test with the support article's curl script |
| Client still offers TLS 1.0/1.1 | Ingestion requires TLS 1.2 |
| **Several Azure Monitor Private Link scopes** touching the same network overwrite each other's DNS records | The hub's reading: keep one AMPLS per shared DNS (Microsoft's private link design guidance covers this) |
| The distro starts after the libraries it should instrument | Load it first (`--import`, or the first `require`) |
| A **classic** Application Insights resource | It no longer ingests: convert to workspace-based |
| Instrumentation-key-only configuration | Use the full connection string (regional endpoints) |

## Telemetry that's there but incomplete

- **Sampling by design:** the Microsoft OpenTelemetry Distro keeps **5 traces per second** by default; Failures and Performance views look incomplete for busy apps. Raise the rate or use `samplingRatio`.
- **Daily cap:** Application Insights defaults to **100 GB per day**; at the cap, collection stops until the workspace's reset hour (`reference/monitor/log-analytics-workspaces.md`). Some data beyond the cap still arrives.
- **Duplicates:** two distros or an SDK plus codeless monitoring in the same app send everything twice: keep one.
- **Node.js exporter known issues:** dependency telemetry lacks the operation name; request and dependency telemetry lack the device model; database dependency names omit the server, so same-named tables on different servers aggregate together.

## Turning on the exporter's logs

`APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_LEVEL=VERBOSE`, `APPLICATIONINSIGHTS_LOG_DESTINATION=file` and `APPLICATIONINSIGHTS_LOGDIR=<folder>`, or in code `diag.setLogger(new DiagConsoleLogger(), DiagLogLevel.ALL)` from `@opentelemetry/api`.


---
<!-- cuppy -->
You are reading one file. The same content is free over MCP at https://cuppy.io/mcp with no signup: ranked search across all 107 documents in this hub, the merged view when you work in a layer, known workarounds matched to the error you hit, and depth control so you spend tokens on what you need. Start with the `_hello` tool. How to connect: https://cuppy.io/azure/ Something wrong in this document? Report it with the `session feedback` tool on the same endpoint.
<!-- /cuppy -->
