Skip to content

Commit 676ea21

Browse files
Address feedback
1 parent bfaa200 commit 676ea21

File tree

2 files changed

+33
-24
lines changed

2 files changed

+33
-24
lines changed

troubleshoot/observability/apm/apm-server-response-codes.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,47 @@ applies_to:
1212

1313
## HTTP 400: Data decoding error / Data validation error [apm-bad-request]
1414

15-
The most likely cause for this error is using incompatible versions of {{apm-agent}} and APM Server. See the [agent/server compatibility matrix](../../../solutions/observability/apps/apm-agent-compatibility.md) to verify compatibility.
15+
::::{tab-set}
16+
17+
:::{tab-item} {{stack}}
18+
The most likely cause for this error is using incompatible versions of {{apm-agent}} and APM Server. See the [agent/server compatibility matrix](/solutions/observability/apps/apm-agent-compatibility.md) to verify compatibility.
19+
:::
20+
21+
:::{tab-item} {{serverless-short}}
22+
The most likely cause for this error is using an incompatible version of an {{apm-agent}}. See [minimum supported APM agent versions](/solutions/observability/apps/elastic-apm-agents.md#observability-apm-agents-elastic-apm-agents-minimum-supported-versions) to verify compatibility.
23+
:::
24+
25+
::::
1626

1727

1828
## HTTP 400: Event too large [apm-event-too-large]
1929

20-
APM agents communicate with the APM server by sending events in an HTTP request. Each event is sent as its own line in the HTTP request body. If events are too large, you should consider increasing the [Max event size](../../../solutions/observability/apps/general-configuration-options.md#apm-max_event_size) setting in the APM integration, and adjusting relevant settings in the agent.
30+
::::{tab-set}
31+
32+
:::{tab-item} {{stack}}
33+
APM agents communicate with the APM server by sending events in an HTTP request. Each event is sent as its own line in the HTTP request body. If events are too large, you should consider increasing the [Max event size](/solutions/observability/apps/general-configuration-options.md#apm-max_event_size) setting in the APM integration, and adjusting relevant settings in the agent.
34+
:::
35+
36+
:::{tab-item} {{serverless-short}}
37+
APM agents communicate with the Managed intake service by sending events in an HTTP request. Each event is sent as its own line in the HTTP request body. If events are too large, you can reduce the size of the events that your APM agents send by: [enabling span compression](/solutions/observability/apps/spans.md) or [reducing collected stack trace information](/solutions/observability/apps/reduce-storage.md#observability-apm-reduce-stacktrace).
38+
:::
39+
40+
::::
2141

2242

2343
## HTTP 401: Invalid token [apm-unauthorized]
2444

25-
Either the [Secret token](../../../solutions/observability/apps/secret-token.md) in the request header doesn’t match the secret token configured in the APM integration, or the [API keys](../../../solutions/observability/apps/api-keys.md) is invalid.
45+
::::{tab-set}
46+
47+
:::{tab-item} {{stack}}
48+
Either the [Secret token](/solutions/observability/apps/secret-token.md) in the request header doesn’t match the secret token configured in the APM integration, or the [API keys](/solutions/observability/apps/api-keys.md) is invalid.
49+
:::
50+
51+
:::{tab-item} {{serverless-short}}
52+
The API key is invalid.
53+
:::
54+
55+
::::
2656

2757

2858
## HTTP 403: Forbidden request [apm-forbidden]

troubleshoot/observability/apm/common-problems.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -294,24 +294,3 @@ To fix this, make sure these two fields match exactly.
294294

295295
For example, if the APM agent is not configured to use the correct host name, the host name might be set to the container name or the Kubernetes pod name. To get the correct host name, you need to set some additional configuration options, specifically `system.kubernetes.node.name` as described in [Kubernetes data](../../../solutions/observability/apps/elastic-apm-events-intake-api.md#apm-api-kubernetes-data).
296296

297-
298-
## Common response codes [observability-apm-troubleshooting-common-response-codes]
299-
```yaml {applies_to}
300-
serverless: all
301-
```
302-
303-
304-
### HTTP 400: Data decoding error / Data validation error [bad-request]
305-
306-
The most likely cause for this error is using an incompatible version of an {{apm-agent}}. See [minimum supported APM agent versions](../../../solutions/observability/apps/elastic-apm-agents.md#observability-apm-agents-elastic-apm-agents-minimum-supported-versions) to verify compatibility.
307-
308-
309-
### HTTP 400: Event too large [event-too-large]
310-
311-
APM agents communicate with the Managed intake service by sending events in an HTTP request. Each event is sent as its own line in the HTTP request body. If events are too large, you can reduce the size of the events that your APM agents send by: [enabling span compression](../../../solutions/observability/apps/spans.md) or [reducing collected stack trace information](../../../solutions/observability/apps/reduce-storage.md#observability-apm-reduce-stacktrace).
312-
313-
314-
### HTTP 401: Invalid token [unauthorized]
315-
316-
The API key is invalid.
317-

0 commit comments

Comments
 (0)