It may help to say the operating environment, version of Frappe and any apps, and if this is happening the first time a bench migrate has been attempted or if migrations have been successful previously. Have there been any changes or customization to doctypes?
bench migrations were returned with no error previously. But today I installed Frappe Insights and tried to migrate, but it returned with this mentioned error.
Yes, the error suggests that there is a web form named “job-application”. so, I tried by deleting the document by using “frappe.delete_doc” in console, it returned None and deleted the document.
But when I tried to migrate again, the document got restored and error appeared again.