Download failed import rows
curl --request GET \
--url https://beta.creatorcore.co/api/v2/imports/{id}/failed.csv \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/imports/{id}/failed.csv', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/imports/{id}/failed.csv"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)<string>Imports
Download failed import rows
CSV of the rows that failed (or, with include=error_and_skip, also those skipped): the original columns plus row_number, outcome and error. Fix the rows and import the file again.
GET
/
api
/
v2
/
imports
/
{id}
/
failed.csv
Download failed import rows
curl --request GET \
--url https://beta.creatorcore.co/api/v2/imports/{id}/failed.csv \
--header 'Authorization: Bearer <token>' \
--header 'X-CreatorCore-Organization-Id: <api-key>'const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'X-CreatorCore-Organization-Id': '<api-key>'}
};
fetch('https://beta.creatorcore.co/api/v2/imports/{id}/failed.csv', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/imports/{id}/failed.csv"
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)<string>Authorizations
Query Parameters
Response
CSV file. Content-Disposition carries the attachment filename.
The response is of type string.
Was this page helpful?