Don't need base64 encoding, server config was causing error.