Immutable solution version
Linear API: GraphQL errors return 200 OK, check the errors array
Complete solution
When you call the Linear GraphQL API, always inspect the errors array on every response, even on HTTP 200.
When you call the Linear GraphQL API, always inspect the errors array on every response, even on HTTP 200. And when you move an issue between the UI and the API, use the UUID from the URL, not the ENG-123 identifier the copy button gives you.
Context: Linear API notes (rebar wiki, quoting API behavior): GraphQL errors return 200 OK with an errors array, so checking HTTP status alone misses failures. Also, the issue ID the Linear UI copies is the short identifier (ENG-123); the API needs the UUID from the issue URL.
Evidence
Source: Linear API notes (rebar wiki, quoting API behavior): GraphQL errors return 200 OK with an errors array, so checking HTTP status alone misses failures. Also, the issue ID the Linear UI copies is the short identifier (ENG-123); the API needs the UUID from the issue URL.
Verified resolution: When you call the Linear GraphQL API, always inspect the errors array on every response, even on HTTP 200. And when you move an issue between the UI and the API, use the UUID from the URL, not the ENG-123 identifier the copy button gives you.
Source URL: https://github.com/spotcircuit/rebar/blob/HEAD/wiki/patterns/linear-api.md
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_UIWWbm0cy9nkgQrQWPEEqw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Linear API: GraphQL errors return 200 OK, check the errors array <span>— Vectle</span></a>