POST
/
offers-imports
/
actions
/
generate-error-file-download-url

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-fabric-tenant-id
string
required

A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.

x-fabric-channel-id
string

The sales channel ID.

x-client-id
string

A unique identifier obtained from Copilot for the System app in the fabric ecosystem, essential for OpenID Connect authentication flows.

x-fabric-request-id
string

A unique request ID.

Body

application/json

A sample request to retrieve an AWS S3 URL used to download the error file of a previous import.

fileName
string
required

The name of the error file to be downloaded. You can get the errorFileName from the Get import jobs endpoint.

Response

200 - application/json

A sample response with an AWS S3 URL used to download the error file.

url
string
required

The AWS S3 URL used to download an error file of a previous import, in a CSV format. The URL is valid for 5 minutes.

fileName
string
required

The name of the file.