Events

Retry a failed event

Move a FAILED event back to PENDING so Scrip processes it again.

post/v1/events/{event_id}/retry

Request

  • Base URL: https://api.scrip.dev
  • URL: https://api.scrip.dev/v1/events/{event_id}/retry
  • Auth: HTTP bearer

Path parameters

event_idstring uuid required

The event's id.

Headers

Idempotency-Keystring

A key you choose to make this request safe to retry: 1 to 255 printable ASCII characters. Send the same key with the same request to get the first response again, marked Idempotent-Replayed: true. Routes that return a secret once, and claim links, do not replay a response. Event ingest uses the key as the event's identity.

Response

Event queued for retry

event_idstring uuid

ID of the event being retried

messagestring

Confirmation message

previous_errorstring

Error message from the previous failed attempt

previous_status'FAILED'

The event's status before the retry.

status'PENDING'

The event's status after the retry.

Example response

{
  "event_id": "e5dc1b6a-7f3d-4e2a-8c1b-9a0f4d7e6c05",
  "message": "Event queued for retry",
  "previous_error": "action CREDIT failed: amount exceeds asset scale",
  "previous_status": "FAILED",
  "status": "PENDING"
}

Changes

No recorded changes to this operation across all 1 revision of this API.