generated from crossplane/upjet-provider-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hello! I am creating synthetic tests based off of known-good manifests of existing synthetic tests.
My workflow is to import an existing test using managementPolicies: ["Observe"]
, and then essentially copy the YAML to a new manifest and apply it. This workflow has worked great for monitors, but with synthetic tests I am running into this error:
"message": "apply failed: error creating synthetics API test from https://api.datadoghq.com/api/v1/synthetics/tests/api: 400 Bad Request: {\"errors\":[\"'extractedValues' value '{'field': 'location', 'name': 'LOCATION_FROM_CALL_1', 'parser': {'type': 'raw', 'value': ''}, 'secure': False, 'type': 'http_header'}' is invalid\"]}: ",
In this case, the corresponding YAML is:
extractedValue:
- field: location
name: LOCATION_FROM_CALL_1
parser:
- type: raw
secure: false
type: http_header
...which is valid, and I can't figure out why this is would be returning a 400.
Metadata
Metadata
Assignees
Labels
No labels