05-23-2020, 09:10 AM
"Token Length Exception" does, indeed, mean that your hash does not meet the expectations of the module. The only way I've found of debugging exactly what is wrong is to read the module source to figure out what it wants and why, and occasionally, when I've *really* screwed up, putting a breakpoint on `module_hash_decode` in a debugger and stepping through.
In this case it looks fairly straightforward -- the `0**` is your hash is invalid; the `0` needs to be either `16` or `32`, and there needs to be either 32 or 64 hex digits between those asterisks (it's referred to in the module source as `id`). Without knowing anything about the file format, I can't say for sure whether the problem is in the script or the file you're got.
In this case it looks fairly straightforward -- the `0**` is your hash is invalid; the `0` needs to be either `16` or `32`, and there needs to be either 32 or 64 hex digits between those asterisks (it's referred to in the module source as `id`). Without knowing anything about the file format, I can't say for sure whether the problem is in the script or the file you're got.