目前,我正在尝试允许用户通过我的python API将个人资料图片上传到firestore存储桶中。我正在尝试以请求数据的形式发送图像。然而,当我尝试上传图片时,我得到了以下错误,"TypeError: cannot use a string pattern on a bytes-like object“,如下所示: @users_endpoints.routereturn no_auth_token_response()
# uid, utype = auth.decode_auth_token(aut
以前有人做到过这一点吗?我一直收到下面的错误信息。我还使用base64-img将本地图像转换为base64。错误: throw invalidFormat(format, 'Invalid character found');FirebaseError: Firebase Storage: String does not match format 'base64': Invalid character found 请求: ...