oath_required

RuntimeSeen in: Runs

What happened

Starting a test needs the Forge Oath, signed by the account that owns the token. POST /forge/api/v1/runs answers 423 with this code when the oath is not signed, or when a newer version of it is waiting. Nothing was started and nothing was charged.

A dry run does not need it, and a test that was already queued or running is not stopped.

What to do

Open Oathra, take the Forge Oath, then send the request again with the same idempotency key.

Example

json
{
  "error": {
    "code": "oath_required",
    "message": "Take the Forge Oath in Oathra before you start a test.",
    "detail": {
      "request_id": "3c6f9a52-8e1d-4b7a-9f20-6d41a8c5e7b3"
    }
  }
}

Ask about this in the forum