You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"_recordingName": "Events/Post an event returns \"Bad request\" response",
4
+
"creator": {
5
+
"comment": "persister:fs",
6
+
"name": "Polly.JS",
7
+
"version": "6.0.5"
8
+
},
9
+
"entries": [
10
+
{
11
+
"_id": "b35f8f8450dc70b83d7661b05817ff7e",
12
+
"_order": 0,
13
+
"cache": {},
14
+
"request": {
15
+
"bodySize": 867,
16
+
"cookies": [],
17
+
"headers": [
18
+
{
19
+
"_fromType": "array",
20
+
"name": "accept",
21
+
"value": "application/json"
22
+
},
23
+
{
24
+
"_fromType": "array",
25
+
"name": "content-type",
26
+
"value": "application/json"
27
+
}
28
+
],
29
+
"headersSize": 592,
30
+
"httpVersion": "HTTP/1.1",
31
+
"method": "POST",
32
+
"postData": {
33
+
"mimeType": "application/json",
34
+
"params": [],
35
+
"text": "{\"data\":{\"attributes\":{\"aggregation_key\":\"aggregation_key_123\",\"attributes\":{\"author\":{\"name\":\"example@datadog.com\",\"type\":\"user\"},\"change_metadata\":{\"dd\":{\"team\":\"datadog_team\",\"user_email\":\"datadog@datadog.com\",\"user_id\":\"datadog_user_id\",\"user_name\":\"datadog_username\"},\"resource_link\":\"datadog.com/feature/fallback_payments_test\"},\"changed_resource\":{\"name\":\"fallback_payments_test\",\"type\":\"feature_flag\"},\"impacted_resources\":[{\"name\":\"payments_api\",\"type\":\"service\"}],\"new_value\":{\"enabled\":true,\"percentage\":\"50%\",\"rule\":{\"datacenter\":\"devcycle.us1.prod\"}},\"prev_value\":{\"enabled\":true,\"percentage\":\"10%\",\"rule\":{\"datacenter\":\"devcycle.us1.prod\"}}},\"category\":\"invalid\",\"integration_id\":\"custom-events\",\"message\":\"payment_processed feature flag has been enabled\",\"tags\":[\"env:api_client_test\"],\"title\":\"payment_processed feature flag updated\"},\"type\":\"event\"}}"
"text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\",\"detail\":\"JSON validation failed at $.data.attributes.category: value must be one of: [\\\"alert\\\", \\\"change\\\"].\"}]}"
"_recordingName": "Events/Post an event returns \"OK\" response",
4
+
"creator": {
5
+
"comment": "persister:fs",
6
+
"name": "Polly.JS",
7
+
"version": "6.0.5"
8
+
},
9
+
"entries": [
10
+
{
11
+
"_id": "12f2ce8ce9b919c06a471c2b7d261fb3",
12
+
"_order": 0,
13
+
"cache": {},
14
+
"request": {
15
+
"bodySize": 866,
16
+
"cookies": [],
17
+
"headers": [
18
+
{
19
+
"_fromType": "array",
20
+
"name": "accept",
21
+
"value": "application/json"
22
+
},
23
+
{
24
+
"_fromType": "array",
25
+
"name": "content-type",
26
+
"value": "application/json"
27
+
}
28
+
],
29
+
"headersSize": 592,
30
+
"httpVersion": "HTTP/1.1",
31
+
"method": "POST",
32
+
"postData": {
33
+
"mimeType": "application/json",
34
+
"params": [],
35
+
"text": "{\"data\":{\"attributes\":{\"aggregation_key\":\"aggregation_key_123\",\"attributes\":{\"author\":{\"name\":\"example@datadog.com\",\"type\":\"user\"},\"change_metadata\":{\"dd\":{\"team\":\"datadog_team\",\"user_email\":\"datadog@datadog.com\",\"user_id\":\"datadog_user_id\",\"user_name\":\"datadog_username\"},\"resource_link\":\"datadog.com/feature/fallback_payments_test\"},\"changed_resource\":{\"name\":\"fallback_payments_test\",\"type\":\"feature_flag\"},\"impacted_resources\":[{\"name\":\"payments_api\",\"type\":\"service\"}],\"new_value\":{\"enabled\":true,\"percentage\":\"50%\",\"rule\":{\"datacenter\":\"devcycle.us1.prod\"}},\"prev_value\":{\"enabled\":true,\"percentage\":\"10%\",\"rule\":{\"datacenter\":\"devcycle.us1.prod\"}}},\"category\":\"change\",\"integration_id\":\"custom-events\",\"message\":\"payment_processed feature flag has been enabled\",\"tags\":[\"env:api_client_test\"],\"title\":\"payment_processed feature flag updated\"},\"type\":\"event\"}}"
* ✅ **Only events with the `change` or `alert` category** are in General Availability. For change events, see [Change Tracking](https://docs.datadoghq.com/change_tracking) for more details.
527
+
*
528
+
* ❌ For use cases involving other event categories, use the V1 endpoint or reach out to [support](https://www.datadoghq.com/support/).
495
529
*
496
-
* ✅ **Only events with the `change` category** are in General Availability. See [Change Tracking](https://docs.datadoghq.com/change_tracking) for more details.
530
+
* ❌ Notifications are not yet supported for events sent to this endpoint. Use the V1 endpoint for notification functionality.
497
531
*
498
-
* ❌ For use cases involving other event categories, please use the V1 endpoint.
532
+
* ❌ This endpoint is not available for the Government (US1-FED) site. Contact your account representative for more information.
0 commit comments