We get a program token that is no longer used (we have removed it from all assets and re approved all the assets). And when we want to delete it, Marketo keep telling the token is in use (and does not tell where see ). Refreshing screen or disconnecting and reconnecting does not change anything.
Has any one a hint to either detect where the token is being used or should we just consider it as a bug an log a case ?
I had this problem before. It is either in use in a flow or asset, or Marketo is just confused. You could ask Support to help investigate.
I have an open support ticket on that issue for like two months now. Marketo had a hard time to acknowledge that even is an issue.
I think the wrongly stated usage of that token comes from cloning. If you clone program A with token X to program B, and then remove all assets from program B which clearly make token X useless, you still can't delete token X from program B because it's "in use". And you know what? Because it's in use in program A.
Anyway: This is not only cosmetic. This affects the usage of tokens in folders pretty heavily, as you also cannot delete tokens which are in overridden state. Which is also not completely true because sometimes you can. My mind tries very hard to find a pattern for this behaviour but for now I haven't found one.
I have observed many issues similar to yours, on many instances, and we are still waiting for a fix.
If you want to get of an overridden token value in a program, just rename the token it in the program, and the inherited value will come back.
Thanks Grégoire. Nice and easy - could have thought of that myself.
In fact I found that in some cases I could actually delete the token after renaming it. After waiting a little while to let the database get the information that the renamed token is actually not used anymore.
I have the same issue in one of my Marketo instances (but not in others), so it's Marketo issue, I have also raised a support ticket before, but they can't seem to fix.
The workarounds I have in place are:
When I clone the program, before entering any content, I can delete any unneeded tokens (used or unused), please note as soon as content is added Marketo adds some connector which then usually throws up that error.
If I've added content, I have to delete all the assets (Emails and Landing Pages), then I can delete the unused tokens. This is annoying but the only way to fix, one nice trick I have it that if I use the Move tool (right click on Asset and select Move), then I can move it to another temporary program, do my fix then move it back again, that way I don't have to recreate.
I hope this helps.