strategy_conflict

PublishSeen in: Strategies

What happened

Every strategy has a revision, and an update names the revision it was made from. If the strategy has moved on since, the save is refused with 409 and this code, and nothing is overwritten. The reply holds the newer copy in strategy.

What to do

Read the newer copy, apply your change to it and save again with its revision. The sample shows only part of strategy.

Example

json
{
  "error": "This strategy was changed somewhere else. The newer copy is shown.",
  "code": "strategy_conflict",
  "strategy": {
    "id": "6d2f3b6e-4c9a-4f6e-8a2d-9b1e5c7a0d42",
    "name": "Breakout",
    "revision": 8
  }
}

Ask about this in the forum