How to make a player drop a pickup when using it?

I’m trying Udon for the first time, and I’m not sure how to make a player automatically drop a pickup when they use it

I’ve made the following graph:

and “input use happened” shows up in the console, but then immediately after, it says an Udon error happened.

I also tried this:

but it produces the same error.

How is this meant to be done? (Also: what is the difference between selecting ‘void’ and selecting ‘VRCPlayerApi’ in that dropdown menu; I can’t find any reference to this node in the docs?)