Closed spr0ut closed 2 years ago
Thanks for your contribution!
This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.
If you would like this issue to remain open:
Verify that you can still reproduce the issue in the latest version of this project.
Comment that the issue is still reproducible and include updated details requested in the issue template.
Not stale. Waiting for response on the original repo.
Looks like this was resolved with https://github.com/DataDog/datadog-api-client-python/pull/610.
Describe the bug The synthetics api for running tests triggered from ci with metadata included produces a 502 error.
HTTP response body: {"errors": ["'pipeline' should be object"]}
With the metadata removed, the synthetics test is triggers successfully but without the metadata present, it's impossible to tell which branch/commit triggered the test.
To Reproduce Tested with curl:
Also tested with python client using the example in the docs from https://datadoghq.dev/datadog-api-client-python/v1/SyntheticsApi/#trigger_ci_tests. This is simplified by removing everything else not needed, keeping the metadata.
Expected behavior
The synthetic test is triggered, and is displayed in datadog with the supplied metadata (branch, pipeline, commit etc.)
Environment and Versions (please complete the following information):
datadogpy v0.42.0