Send a key with every run
Choose your own key of 1 to 200 letters, digits,_ or -; a UUID fits. Send it as the idempotency_key argument through MCP, or the Idempotency-Key header over REST.
Retry with the same key
Resend the same request with the same key. While that key’s job is running, or once it has finished, Pomerado answers that job and runs nothing again; REST answers200 with Idempotent-Replayed: true instead of 202. If the job failed with an error whose Retry line on Errors says to repeat the same request with its key, such as worker_lost or website_sign_in_unavailable, the same key starts it again as a new job (202), and later resends answer that new job.
- The same key with a different request is refused with
idempotency_conflict. - Use a new key only when you mean a new action.
- If the job already delivered its result, the retry answers the job with
resultnull. Run again with a new key for a fresh result.
id, don’t resubmit: wait for it.
Read the error
An error withretryable true may succeed if you send the request again. Keep the same key unless the code’s Retry line on Errors says to use a new one, as it does for a read a CAPTCHA stopped. Back off on repeated failures.
A write that may have happened without a confirmed result reads write_status may_have_applied. Its error is outcome_unknown, or execution_failed with reason_code stopped_before_final_step when it stopped before its last website step and earlier steps may have saved changes on the website. Check the website before starting another. While Pomerado repairs its tool, such a write reads running with write_status null instead, because the repair may still complete it, and it says which once the repair ends.
Details
Details
- A write sent without a key whose failure may follow an accepted write carries
write_possibly_accepted: truebeside its error. Check for its job and the website before calling again. write_statusreadsnot_attempted,applied,not_applied,may_have_appliedorpending.- Every error code is in Errors.