Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.

    I was able to figure out the reason it was breaking for me I had Add Store Code to Urls enabled which gave it wrong url on admin side resulting in a 404 page not found.