You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Payload 3.70.0 (and below), using bulk delete on records in a collection always leaves the last record (or one of the records) undeleted. This is reflected in the database as well.
I've included a link to a repo but all I did was create a new Payload app using the website template - I haven't changed any code at all.
In the admin panel, delete all the records in Categories collection and all but one will be deleted. Refreshing the page doesn't remove it and checking the database also shows the item still exists.
This happens with Vercel Postgres, using both Neon database and Supabase
@martinwoo7 I also went ahead and pulled down your reproduction repo that you included above and was still unable to reproduce the behavior.
After seeding the DB and deleting all category documents, all of the docs were properly deleted.
If this issue still persists on your end, please try updating to the latest Payload version 3.71.1 and see if you're getting any errors in your logs / network panel.
Going to close this for now but happy to re-open this if you are stilling having trouble and can provide more information, thanks!
Activity
PatrikKozak commentedon Jan 6, 2026
Hey @martinwoo7 - I tried to reproduce this on my end and I'm currently not able to - I'm seeing all my documents properly deleted.
Are you able to reproduce this behavior locally and in production?
If you open your network panel / console and try to reproduce the behavior again, do you see any failed requests or errors in your console?
PatrikKozak commentedon Jan 16, 2026
@martinwoo7 I also went ahead and pulled down your reproduction repo that you included above and was still unable to reproduce the behavior.
After seeding the DB and deleting all category documents, all of the docs were properly deleted.
If this issue still persists on your end, please try updating to the latest Payload version
3.71.1and see if you're getting any errors in your logs / network panel.Going to close this for now but happy to re-open this if you are stilling having trouble and can provide more information, thanks!
github-actions commentedon Jan 24, 2026
This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.