---
title: "Get Failed Ingest File Download URL"
method: GET
path: "/organizations/{orgId}/measurements/failedIngest/getDownloadUrl"
tags: ["Measurements"]
---

# Get Failed Ingest File Download URL

`GET /organizations/{orgId}/measurements/failedIngest/getDownloadUrl`

Returns a presigned download URL for failed ingest file download based on the file path provided.

If a usage data ingest measurement you submit to the m3ter platform fails, an `ingest.validation.failure` Event is generated. Use this call to obtain a download URL which you can then use to download a file containing details of what went wrong with the attempted usage data measurement ingest, and allowing you to follow-up and resolve the issue.

To obtain the `file` query parameter:
- Use the [List Events](https://www.m3ter.com/docs/api#tag/Events/operation/ListEventFields) call with the `ingest.validation.failure` for the `eventName` query parameter.
- The response contains a `getDownloadUrl` response parameter and this contains the file path you can use to obtain the failed ingest file download URL.

**Notes:**
- The presigned Url returned to use for failed ingest file download is time-bound and expires after 5 minutes.
- If you make a List Events call for `ingest.validation.failure` Events in your Organization, then you can perform this **GET** call using the full URL returned for any ingest failure Event to obtain a failed ingest file download URL for the Event.

## Path parameters

- `orgId` string, required

## Query parameters

- `file` string

## Response `200`

Returns a presigned URL for failed ingest file download

- GenerateDownloadUrlResponse — It contains details for downloading a file
  - `url` string — The presigned download URL

## Other responses

- `4XX` — Error message
- `5XX` — Error message

---

[API](https://skmtc.net/m3ter-com/apis/m3ter-api.md) · [All operations](https://skmtc.net/m3ter-com/apis/m3ter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/m3ter-com/m3ter-api/revisions/ac93d1a9e6d9/schema)
