Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

API Change: Pipeline Error Response Format Update

Дата публикации: 21-09-2026 07:00:00

API Change: Pipeline Error Response Format Update
We’ve updated how pipeline errors are returned in the CircleCI API.
What’s changing
Previously, related lines from a single config error were returned as separate objects in the errors array:
"errors": [
{ "type": "config-deprecated-syntax", "message": "Error calling workflow: 'build-test-deploy'" },
{ "type": "config-deprecated-syntax", "message": "Error calling job: 'buggy-orb/exhibit-bug'" },
{ "type": "config-deprecated-syntax", "message": "Referred to a variable that does not exist" }
]
Going forward, all lines belonging to the same error are consolidated into a single object, with lines separated by a newline character (\n):
"errors": [
{ "type": "config-deprecated-syntax", "message": "Error calling workflow: 'build-test-deploy'\nError calling job: 'buggy-orb/exhibit-bug'\nReferred to a variable that does not exist" }
]
Why we’re making this change
This consolidation lays the groundwork for returning multiple distinct errors in a single response. Soon, if your config has more than one unrelated issue, you’ll see each as a separate object in the errors array — so you can identify and fix all problems at once, rather than triggering your pipeline multiple times.
What you need to do
If your code parses the errors array, verify it handles multi-line message values correctly. The number of objects in the array will now reflect the number of distinct errors, not the number of individual error lines.
Affected APIs
v2:
GET /api/v2/pipeline
GET /api/v2/pipeline/{pipeline-id}
GET /api/v2/project/{project-slug}/pipeline
GET /api/v2/project/{project-slug}/pipeline/mine
GET /api/v2/project/{project-slug}/pipeline/{pipeline-number}
v3:
GET /api/v3/runs
GET /api/v3/runs/search
GET /api/v3/runs/{id}


Основное содержимое страницы с новостью.

API Change: Pipeline Error Response Format Update

We’ve updated how pipeline errors are returned in the CircleCI API.

What’s changing

Previously, related lines from a single config error were returned as separate objects in the errors array:

"errors": [
  { "type": "config-deprecated-syntax", "message": "Error calling workflow: 'build-test-deploy'" },
  { "type": "config-deprecated-syntax", "message": "Error calling job: 'buggy-orb/exhibit-bug'" },
  { "type": "config-deprecated-syntax", "message": "Referred to a variable that does not exist" }
]

Going forward, all lines belonging to the same error are consolidated into a single object, with lines separated by a newline character (\n):

"errors": [
  { "type": "config-deprecated-syntax", "message": "Error calling workflow: 'build-test-deploy'\nError calling job: 'buggy-orb/exhibit-bug'\nReferred to a variable that does not exist" }
]
Why we’re making this change

This consolidation lays the groundwork for returning multiple distinct errors in a single response. Soon, if your config has more than one unrelated issue, you’ll see each as a separate object in the errors array — so you can identify and fix all problems at once, rather than triggering your pipeline multiple times.

What you need to do

If your code parses the errors array, verify it handles multi-line message values correctly. The number of objects in the array will now reflect the number of distinct errors, not the number of individual error lines.

Affected APIs

v2:

  • GET /api/v2/pipeline
  • GET /api/v2/pipeline/{pipeline-id}
  • GET /api/v2/project/{project-slug}/pipeline
  • GET /api/v2/project/{project-slug}/pipeline/mine
  • GET /api/v2/project/{project-slug}/pipeline/{pipeline-number}

v3:

  • GET /api/v3/runs
  • GET /api/v3/runs/search
  • GET /api/v3/runs/{id}

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1The new Pipelines page is now live for all users 06.3329-06-2026
2Hosted MCP server now available06.3114-09-2026
3Deprecation of GraphQL Unstable API - January 1st, 2027010.5503-09-2026
4OAuth 2.0 API Access with Dynamic Client Registration09.6812-08-2026
5Missing docs - V2 API tests endpoint014.3821-08-2026
6New CLI flag: circleci run get --failure-report07.1731-07-2026
7Fix with Claude Code now available from more places in the CircleCI UI05.1712-08-2026
8Fix failing workflows with Claude Code, directly from the CircleCI UI015.9406-08-2026
9Customise pipelines vie019.5909-08-2026
10Workflow cancellation display status reliability improvements06.3102-07-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 9.16. Источник: circleci.com.