i created a segment from the admin UI and now i am trying to delete it and it does get deleted but for the current session but once i reload the page it shows up again.
i checked the schema and its not there. i tried to add it manually to the schema and restart the server to so when i try to delete it, it finds it in the schema and removes it but when i do restart the server it gets removed automatically from the schema but not the admin page UI.
im not sure what im supposed to do to delete it.
It seems that you made a good manipulation and it should work as described, to be sure to understand what’s going on, could you share a video of your screen reproducing the error you encounter via a tool like loom?
well no error occurs. this is exactly what happens: i delete segment → segment gets deleted normally and prints a message that it was deleted successfully → i refresh the page and it shows up again.
thats all.
Can you please check the network tab of your browser as well and make sure that the request sent to /api/layout when you click the delete returns a success code?
well now the page won’t load at all so i can’t really show you the payload but here are the collection and segment names
collection name: Users
Segment name: Professionals
The request seems correct.
I justchecked, and I can see in our system that your segment exists more than one time.
Could you please try to delete it several more times (If I counted correctly we have it 17 times)?
I am sorry to ask you that, but it would be the safest solution.
If after 17 more deletes the segment still appears, I will recheck the data we store.
So far we were not able to find the root cause of this issue, but we will keep investigating.
Please let me know if I can do anything else for you.
I am glad that we could help you even if it’s not the best experience you might have had with Forest Admin
We will do our best to avoid such things from happening in the future
Did you manage to successfully delete your segment now?
Please let me know if we can help you with anything else