Delete method is not working in my frontend-backend app running on different ports

I was able to find the solution from firebase studio support team . Here’s what they said →

Documentation he mentioned → Firebase Studio troubleshooting & FAQ

Basically You have to make both the frontend and backend ports public from the sidebar on firebase studio . There is firebase icon on the sidebar ,click on it and scroll down and you have see all the ports that are running , make them public . I hope this solves your issue .