Skip to Content
ServicesDeadLetter

Replay a dead letter

POST
/apis/funcd.io/v1alpha1/namespaces/{namespace}/deadletters/{id}/replay

Authorization

headerAuthorizationBearer <token>

A credential of funcd's config, sent as Authorization: Bearer followed by its token.

Path Parameters

namespace*string

The dead letter's namespace.

Match^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$
Length1 <= length <= 63
id*string

The dead letter's ID.

Response Body

No Content

Example Request
curl -X POST 'https://example.com/apis/funcd.io/v1alpha1/namespaces/string/deadletters/string/replay'
Example Response
Empty

Answers

StatusProblem typeWhenWhat to do
204No Content
400urn:funcd:problem:invalidThe action's input in the Sensor is not a JSON object, or holds an expression that does not evaluate; the dead letter stays.Correct the action's input in the Sensor, then retry.
401urn:funcd:problem:unauthorizedThe request carries no bearer token or API key, or one that funcd does not know.Send a credential of funcd's config as a bearer token in the Authorization header, or in X-Api-Key.
403urn:funcd:problem:forbiddenThe credential's role or namespaces do not allow it to delete Sensors in the namespace.Use a credential whose role allows it, such as a developer of the namespace or an admin.
404urn:funcd:problem:not-foundNo dead letter of that ID exists in the namespace.Check the ID: funcdctl eventing dlq list lists the namespace's dead letters.
404urn:funcd:problem:not-foundThe Sensor that the dead letter names no longer exists.Apply the Sensor again, then retry, or discard the dead letter.
404urn:funcd:problem:not-foundThe Sensor no longer has the dead letter's action.Add the action back to the Sensor, then retry, or discard the dead letter.
409urn:funcd:problem:conflictAnother replay of the dead letter is running.Retry once that replay has ended.
409urn:funcd:problem:conflictThe action's Function serves HTTP, so only the edge calls it; the dead letter stays.Point the action at a Function that does not serve HTTP, then retry.
422about:blankThe namespace in the path is not a DNS-1123 label.Use at most 63 lowercase letters, digits and hyphens, starting and ending with a letter or a digit.
422about:blankThe query holds a parameter that the operation does not take.Send only the parameters that the operation lists.
503urn:funcd:problem:unavailableThe platform is held, or the namespace is held for its data or while a Restore loads it, so funcd delivers no event.Retry once the hold is released: funcdctl hold release releases the platform's hold, and funcdctl hold release --namespace the namespace's, once any Restore that loads it has ended.
503urn:funcd:problem:unavailableThe delivery failed again, such as on a Function that is missing, has no ready worker or answers an error; the dead letter stays, with its attempts reset and the new reason.Correct what the dead letter's reason names, then retry.