Create shotgun import error

POST /import/shotgun/errors

Create a new Shotgun import error record. The error event data should be provided in the JSON body.

application/json

Body Required

  • error string

    Error message

  • details object

    Additional error details

Responses

  • 201 application/json

    Import error created successfully

    Hide response attributes Show response attributes object
    • id string(uuid)

      Import error unique identifier

    • source string

      Source of the import error

    • event_data object

      Error event data

    • created_at string(date-time)

      Creation timestamp

  • 400

    Invalid request 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"
}