Create shotgun import error
Create a new Shotgun import error record. The error event data should be provided in the JSON body.
POST
/import/shotgun/errors
curl \
--request POST 'http://api.example.com/import/shotgun/errors' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"error":"Failed to import asset","details":{"reason":"Missing required field","shotgun_id":12345}}'
Request example
{
"error": "Failed to import asset",
"details": {
"reason": "Missing required field",
"shotgun_id": 12345
}
}
Response examples (201)
{
"id": "a24a6ea4-ce75-4665-a070-57453082c25",
"source": "shotgun",
"event_data": {
"error": "Failed to import asset"
},
"created_at": "2024-01-15T10:30:00Z"
}