lobsite! Sign in Sign up

Site changed since it was read deploy.stale_base

HTTP 409

What happened

A change made with patch_files was made to a deploy that's no longer live: another deploy went live after it was read. Nothing went live, so the newer deploy isn't overwritten.

What to do

  • Read the live deploy again with list_files or read_file, make the change to it, and send it with its deploy_id as base_deploy_id.
  • details.live_deploy_id is the deploy that's live now.

What it looks like

{ "error": { "code": "deploy.stale_base", "message": "…", "why": "…", "fix": "…",
  "docs_url": "https://lobsite.com/docs/errors/deploy.stale_base" } }