Applying a configuration says the project changed
Before you begin
- Role
- Editor or higher.
Apply on a project’s Config as code page applies exactly the document you previewed. If the project changed after the preview, nothing is applied, and the page says:
The project configuration changed since this plan was computed (expected revision 3f9a1c2e5b7d4a6f8e0c1b2a3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f6a, current 8c1d0e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d). Re-run diff and push again.Nothing was applied. Preview the document again before applying.The two revisions identify the project’s configuration when you previewed and when you applied. The problem’s type is Config conflict.
Causes
Section titled “Causes”The project changed between the preview and the apply
Section titled “The project changed between the preview and the apply”Someone or something changed the project after you selected Preview changes: a teammate editing a mock, an AI assistant connected over MCP, or another apply. A document is applied as a whole, and anything it leaves out is deleted, so MockHub refuses to apply a plan that was computed for a project that no longer exists in that form.
Preview again, but read the new plan before you apply it: your document does not contain what changed in the meantime, and applying it would undo that change.
- Select Preview changes.
- Read the plan. A Delete or Update line for something you did not change in the document is the other change, about to be undone.
- If the plan undoes something that should stay, copy your document somewhere safe and reload the page, so that it shows the project’s current configuration.
- Select Edit a copy below to load that configuration into the box, and make your change to it again.
- Select Preview changes, then Apply. When the plan deletes anything, confirm the deletions by name.
Something in the plan was deleted while it was applied
Section titled “Something in the plan was deleted while it was applied”The mock "Create order" named in this plan no longer exists. Re-run diff and push again.A mock, scenario, chaos profile or webhook the plan changes was deleted by someone else while the apply ran. Nothing was applied. Follow the same steps as above.
A different 409 on apply
Section titled “A different 409 on apply”Some refusals also answer 409 but need a change to the document or the project, not a new preview. The page shows the same line under the message, Nothing was applied. Preview the document again before applying., but previewing again does not help:
Deactivate the profile before deleting it.The document leaves out a chaos profile that is live. Stop it with Stop on its row on the project’s Chaos tab, or keep it in the document, then preview and apply again.
Where the page is
Section titled “Where the page is”The Config as code page opens from the project’s Settings, under Config as code, with Open config. Applying needs the Editor role; a document that changes settings, chaos profiles or webhooks needs the Admin role, and the page names those sections before you apply. See Edit a project’s configuration in the browser.
Still stuck
Section titled “Still stuck”Report a problem with the project’s address, the time of the apply and the full message.