Skip to content

Scenario conflict

The answer a project’s address gives instead of a mock’s when other requests kept moving the same scenario or response sequence while this one tried to.

Field Value
type https://mockhub.dev/problems/scenario-conflict
Status 503

A mock that moves a scenario answers only once the move is saved, and the move is saved only if nobody moved the scenario since its state was read. When someone did, MockHub chooses the mock again against the new state. When that state, too, has moved before it is saved, MockHub gives up rather than answer from a state that is gone: no mock answers, this request moves nothing, and it is not forwarded to the project’s upstream.

It is rare. Requests to one project wait their turn on a scenario rather than race, so a conflict takes moves made elsewhere landing in between, twice: a move or reset on the Scenarios tab, or maintenance on MockHub’s side.

Always 503.

Only from a project’s own address. The request log lists it as answered by Mock server did not answer, and no webhook fires for it.

When detail
Always Another request changed this scenario's state at the same moment. Retry the request.

This type carries no extension members.

{
"type": "https://mockhub.dev/problems/scenario-conflict",
"title": "Scenario state conflict",
"status": 503,
"detail": "Another request changed this scenario's state at the same moment. Retry the request."
}
  • Retry the request. It is answered from whatever state the other moves left.
  • Avoid moving or resetting a scenario on the Scenarios tab while a test is running through it.

Report a problem with this page