Mock changed
A refusal to save a mock, because it was saved again after you opened it.
| Field | Value |
|---|---|
type |
https://mockhub.dev/problems/mock-changed |
| Status | 409 |
What it means
Section titled “What it means”Every save of a mock gives it a new version, and the mock editor sends the version it opened. When the mock has been saved since, by another member, an AI assistant or another tab of yours, nothing is saved, so your change does not replace one you have not seen. Two saves of one mock arriving at the same moment end the same way for the one that loses.
Status
Section titled “Status”Always 409.
Where it comes from
Section titled “Where it comes from”In the app, from Save mock in the mock editor.
| When | detail |
|---|---|
| Always | This mock was changed after you loaded it. Reload it and apply your change again. |
The app shows Nothing was saved. above the detail, with Discard my edits and reload.
This type carries no extension members.
{ "type": "https://mockhub.dev/problems/mock-changed", "title": "Mock changed since you loaded it", "status": 409, "detail": "This mock was changed after you loaded it. Reload it and apply your change again."}What to do
Section titled “What to do”- Copy anything you typed that you want to keep: reloading discards it.
- Select Discard my edits and reload to open the mock as it was last saved.
- Make your change again, and select Save mock.
Another 409 from Save mock carries the generic type and means another mock in the project already has that name. Choose another name.