Running action in a branch question

Hi,

In Palantir foundry I create a branch.
I try to run a Typescript function backed action. It throws a message saying “edits are not allowed”.

I index the possible object types involved in the action. Now the data disappears in my branch. This is my consistent problem. Being not able to run actions in the branch. So I cannot test in a branch. Any one has suggestions, I greatly appreciate that.

Thanks a lot.