Measurement not built-in
The API answers 409 Conflict with this problem. Its type is https://lingo.dev/docs/api/errors/measurement-not-built-in. See Errors and status codes for the shape every error shares.
Cannot set settings for measurement <id>: only built-in measurements have them. Set your own measurement's event conditions one by one instead.
Fields#
Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.
| Field | Type |
|---|---|
id | string |
Example#
json
{
"detail": "Cannot set settings for measurement <id>: only built-in measurements have them. Set your own measurement's event conditions one by one instead.",
"id": "<id>",
"type": "https://lingo.dev/docs/api/errors/measurement-not-built-in",
"status": 409,
"title": "Measurement not built-in"
}Returned by#
PUT /v2/organizations/{orgId}/measurements/{measurementId}/settings