Z2M base64 wrong conversion

Nobody will go through your logs trying to guess what the strange results are.
Please be specific in what you're asking for.