Developer docs · Problems

Unknown tag

HTTP 422 · https://impartire.com/problems/unknown-tag

What it means

A tag id names no tag of this org that the credential can read; GET /api/v1/tags lists them, and { name } coins a new org tag instead.

What to do

Look the tag up with GET /api/v1/tags?q=; a tag of another org and (for an OAuth token) a team tag the person is not in answer alike. To coin a new org tag, send { "name" } instead of { "id" }.

Example

Sent as application/problem+json with status 422. detail varies with the request; branch on type.

{
  "type": "https://impartire.com/problems/unknown-tag",
  "title": "Unknown tag",
  "status": 422,
  "detail": "tags.0.id names no tag of this org you can use. GET /api/v1/tags lists them; to coin a new org tag, send { \"name\" } instead.",
  "instance": "/api/v1/assets/6f1c2a4e-0b7d-4f7e-9a51-2d3c4b5a6e7f/tags",
  "request_id": "01JB8Z5W6Q4N3X2V1T0S9R8P7M"
}