Skip to content

Data store records changed

A refusal to delete the records a search matches, because the search no longer matches the number of records you were shown.

Field Value
type https://mockhub.dev/problems/store-records-changed
Status 409

A delete by search sends the count you saw as expectedTotal. MockHub runs the search again and deletes only while it matches exactly that many records. When a mock, a teammate or a script added, changed or removed a matching record in between, nothing is deleted, so a record you never saw is never deleted with the rest.

Always 409.

From Delete after Select all matching on a collection’s page, and from mockhub store delete --filter … --yes.

When detail
Always The search now matches 3 records, not the 2 you saw. Nothing was deleted; search again and try again.

This type carries no extension members.

{
"type": "https://mockhub.dev/problems/store-records-changed",
"title": "Data store records changed",
"status": 409,
"detail": "The search now matches 3 records, not the 2 you saw. Nothing was deleted; search again and try again."
}
  • Search again, look at what matches now, and delete again.
  • From a script, count the matches again for a new expectedTotal, or delete by keys, which removes those records whatever else changed.

Report a problem with this page