Consul upgrade failing from 1.14.4 to 1.16.4, 1.17.0, 1.18.0, 1.19.0

Hi Team,

While doing upgrade from 1.14.4 to latest versions we are facing issue during an upgrade.

2024-06-24T07:06:12.448Z [ERROR] agent.server.raft: failed to restore snapshot: id=42-2883921626-1719211233575 last-index=2883921626 last-term=42 size-in-bytes=21776199 error="failed inserting acl token: missing value for index 'accessor'"

PS: Tokens are master and anonymous. They are not legacy tokens.
And acl is enabled/disabled.

Issue persist for 1.17.0,1.18.0,19.0 versions too.
Can you please guide.

Regards,
Anil P

acl is enabled initially by bootstraping and then disabled(permanently).
Due to this master and anonymous are part of data/snapshots.