Affected: Datadog Integration
Symptoms
The following error occurs when linking LaunchDarkly to Datadog for events using an API Key:
403 Forbidden
Cause
The 403 errors typically occur when using a Datadog Application Key instead of a Datadog API Key.
Solution
To verify whether the API key is valid, run the following curl command:
# Curl command
curl -X GET "https://api.datadoghq.com/api/v1/validate" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}"