illegal base64 data at input byte 37

golang, base64.StdEncoding.DecodeString error when decoding: illegal base64 data at input byte 37

Possible reason one: the string to be decoded is not encoded

You can check what the string after base64 encode is to see if it is the same as the one to be decoded.

Guess you like

Origin blog.csdn.net/hugo_lei/article/details/109079888