Re: Any hint to get rid of unused tokens?

Grégoire_Miche2
Level 10

Any hint to get rid of unused tokens?

Dear all,

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 ?

-Greg

6 REPLIES 6
Josh_Hill13
Level 10 - Champion Alumni

Re: Any hint to get rid of unused tokens?

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.

Anonymous
Not applicable

Re: Any hint to get rid of unused tokens?

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.

Or whatever.

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.

Grégoire_Miche2
Level 10

Re: Any hint to get rid of unused tokens?

Hi Michael,

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.

-Greg

Anonymous
Not applicable

Re: Any hint to get rid of unused tokens?

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.

Anonymous
Not applicable

Re: Any hint to get rid of unused tokens?

Ask support to "reset the dependencies for tokens" of the specific program. You should find success here.

Frank_Breen2
Level 10

Re: Any hint to get rid of unused tokens?

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:

Fix 1

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.

Fix 2

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.