Fixed base64 decoding error