---
title: "GET /pg-executions/{executionId}/faults"
method: GET
path: "/pg-executions/{executionId}/faults"
---

# GET /pg-executions/{executionId}/faults

`GET /pg-executions/{executionId}/faults`

Fetch a list of faults for a given file execution, sorted by the date they were created from newest to oldest.

## Path parameters

- `executionId` string, required — A unique identifier for the file execution within Stedi. This ID is included in the [file processed event](https://www.stedi.com/docs/edi-platform/operate/event-types#file-processed), or you can retrieve it manually from the file's details page within the Stedi app.

## Query parameters

- `pageSize` number — The maximum number of elements to return in a page. If not specified, the default is 100.
- `pageToken` string — `pageToken` is an opaque token returned by a previous call to this operation in the `nextPageToken`

## Response `200`

PgListExecutionFaults 200 response

- PgListExecutionFaultsResponseContent
  - `nextPageToken` string — The token used for pagination
  - `items` ExecutionFault[], required
    - `createdAt` string, date-time, required
    - `id` string, required
    - `executionId` string, required
    - `faultCode` 'DELIVERY_FAILURE' | 'FAILED_TO_EXTRACT_BUSINESS_IDENTIFIERS' | 'FAILED_TO_FIND_GUIDE' | 'FAILED_TO_FIND_LOCAL_PROFILE' | 'FAILED_TO_FIND_PARTNER_PROFILE' | 'FAILED_TO_FIND_PARTNERSHIP' | 'FAILED_TO_FIND_PROFILES' | 'FAILED_TO_FIND_RECEIVER_PROFILE' | 'FAILED_TO_FIND_SENDER_PROFILE' | 'FAILED_TO_FIND_CONNECTION' | 'FAILED_TO_GENERATE_CONTROL_NUMBERS' | 'FAILED_TO_PARSE' | 'FAILED_TO_PARSE_METADATA' | 'FAILED_TO_TRANSLATE' | 'FAILED_TO_ACK' | 'FAILED_TO_ACK_INTERCHANGE' | 'FILE_NOT_FOUND' | 'INVALID_EVENT' | 'INVALID_CONFIGURATION' | 'MISMATCHED_PARTNERSHIP_CONNECTION' | 'MISSING_FUNCTIONAL_GROUP_CONTROL_NUMBER' | 'MISSING_FUNCTIONAL_GROUP_RELEASE' | 'MISSING_INTERCHANGE_CONTROL_NUMBER' | 'MISSING_TRANSACTION_SET_CONTROL_NUMBER' | 'MISSING_RECEIVER_ID' | 'MISSING_RECEIVER_QUALIFIER' | 'MISSING_SENDER_ID' | 'MISSING_SENDER_QUALIFIER' | 'MULTIPLE_MATCHING_GUIDES' | 'MULTIPLE_MATCHING_TRANSACTION_SETTINGS' | 'MULTIPLE_PARTNERSHIPS' | 'NO_TRANSLATION_OUTPUT' | 'NO_TRANSACTION_SETS' | 'NOT_SUPPORTED' | 'NO_FUNCTIONAL_GROUPS' | 'NO_USAGE_INDICATOR_CODE' | 'PREVIOUSLY_RETRIED' | 'TRANSLATION_ERROR' | 'UNKNOWN_ERROR', required
    - `faultMessage` string, required
    - `guideId` string
    - `receiverProfile` PartnershipReceiver
      - `profileId` string, required
    - `senderProfile` PartnershipSender
      - `profileId` string, required
    - `translateFaultContext` unknown

## Other responses

- `400` — ResourceUnderChangeException 400 response
- `401` — UnauthorizedException 401 response
- `403` — AccessDeniedException 403 response
- `404` — ResourceNotFoundException 404 response
- `429` — ThrottlingException 429 response
- `500` — ServiceException 500 response
- `503` — ServiceUnavailableException 503 response
- `504` — GatewayTimeoutException 504 response

## Changes

- **2024-09-09** `6973cba1e760` — 1 info
  - endpoint added
- **2024-08-28** `1abad58b22b4` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/stedi/apis/core/changes/pg-executions/:executionId/faults/get.md)

---

[API](https://skmtc.dev/stedi/apis/core.md) · [All operations](https://skmtc.dev/stedi/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stedi/core/revisions/e651ba0208a9/schema)
